[Mono-list] differences between mono and MS .NET
Lluis Sanchez
lluis at ximian.com
Thu Jan 19 11:09:14 EST 2006
Hi,
Those requests are not equal, but they are equivalent. Any serious SOAP
server should be able to understand both of them. The resulting XML is
not exactly the same because Mono and MS.NET have two different internal
implementations.
Lluis.
El jue, 19-01-2006 a las 16:51 +0100, Jan Gehring escribió:
> Hello,
>
> i have coded an C# application that connects to an SOAP Webservice.
>
> Now i have a problem with that application under mono.
>
> I noticed that MS .NET send the following XML-SOAP Request to the
> Server:
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:tns="http://jan/soap/server.php"
> xmlns:types="http://jan/soap/server.php/encodedTypes"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>
> <soap:Body
> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <types:sayHello>
> <name xsi:type="xsd:string">Robert</name>
> </types:sayHello>
> </soap:Body>
>
> </soap:Envelope>
>
> ----------------------- END ---------------------
>
>
> But Mono sends this request to the SOAP Server:
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>
> <soap:Body
> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <q1:sayHello xmlns:q1="http://jan/soap/server.php/encodedTypes">
> <name xsi:type="xsd:string">Robert</name>
> </q1:sayHello>
> </soap:Body>
>
> </soap:Envelope>
>
>
> ----------------------- END ---------------------
>
>
> Both SOAP Requests are from the ~same~ Executable.
>
> I have tested it with MS .NET 1.1 und 2.0 on Microsoft Windows XP
>
> Mono runs on an Ubuntu
> jfried at jan:~/temp$ mono --version
> Mono JIT compiler version 1.1.8.3, (C) 2002-2005 Novell, Inc and
> Contributors. www.mono-project.com
> TLS: __thread
> GC: Included Boehm (with typed GC)
> SIGSEGV : normal
> Globalization: normal
> jfried at jan:~/temp$
>
>
> What must i do that both requests are the same?
>
> If someone need my sourcecode, just let me know and i will post it.
>
> Sorry for my bad english and thank you all in advance.
>
> Jan Gehring
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list