[Mono-list] differences between mono and MS .NET

Jan Gehring gehring at egotec.com
Thu Jan 19 10:51:52 EST 2006


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



More information about the Mono-list mailing list