Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 6677 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 2405 [details]
Zip archive containing the test case and other documents useful to reproduce and trubleshoot the issue
I'm trying to port an existing .net application to the mono runtime but I have banged my head against what seems to be a strange serialization issue.
My application is calling a java web service described by the wsdl that you can find at the address https://gist.github.com/3413765 or attached to this bug report.
A SvcUtil.exe generated client running on .net 4.0 has no problem invoking the service, however when i use the same client to perform a request using the mono runtime the resulting soap request is invalid. The details of the soap request can be found at the address https://gist.github.com/3413791 or attached to this bug report.
You may compare it to the correct soap request (from the .net 4.0 runtime) that you can find at the address https://gist.github.com/3413809 or attached to this bug report, the errors are quite obvious.
I was able to reproduce this issue on mono 2.10.8 and on alpha 2.11.3, both versions running under windows.
Attached you will find a zip archive containing:
- serviceWsdl.wsdl: the wsdl of the service I'm trying to invoke
- clrSoapRequest.txt: the soap request sent using the ms.net 4.0 runtime
- monoSoapRequest.txt: the soap request sent using the mono runtime (the error is quite obvious if you look at the content of the "Body" element)
- test.cs: a barebone test case application to reproduce the issue
the mono soap request is equal to the ms.net request
You may need a sniffer such as fiddler or wireshark to inspect the requests (I don't know how to trace net traffic under mono)
To compile the test case run
mcs -r:System.ServiceModel.dll Test.cs
to execute the sample run (using a sniffer such as fiddler or wireshark to inspect the soap request)