[Mono-list] Weird serialization issue while calling a web service

kScope nicola.gargagli at gruppoinit.it
Tue Aug 21 09:33:47 UTC 2012


Hi all, 

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 weird serialization issue.

My application is calling a java web service described by the wsdl that you
can find  https://gist.github.com/3413765 here . 
Nothing strange here, 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  https://gist.github.com/3413791 here .
You may compare it to  https://gist.github.com/3413809 the correct soap
request  (from the .net 4.0 runtime), the errors are quite obvious.

I was able to reproduce this issue on mono 2.10.8 and on alpha 2.11.2, both
versions running under windows.

I'm sure that I'm not the only one calling a web service using mono, there
must be something I'm doing wrong, but I just can't find out what.

You may download a barebone project to test this issue 
http://sdrv.ms/NX9cOS here 

Thank you very much for your help, please let me know if you need more
informations.



--
View this message in context: http://mono.1490590.n4.nabble.com/Weird-serialization-issue-while-calling-a-web-service-tp4656329.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list