[Mono-bugs] [Bug 343301] New: Mono Remoting SOAP return of a class type is serialised differently to . Net

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 21 09:25:28 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=343301

           Summary: Mono Remoting SOAP return of a class type is serialised
                    differently to .Net
           Product: Mono: Class Libraries
           Version: 1.2.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: glen.a.ford at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: Development


Mono Remoting SOAP return of class serialised differently to .Net

See attached VS solution on bug 343252


Using the following valid request:

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/" xmlns:types="http://tempuri.org/encodedTypes"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <tns:EchoString>
      <a xsi:type="xsd:string">string</a>
    </tns:EchoString>
  </soap:Body>
</soap:Envelope>



Net returns:

<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0">
   <SOAP-ENV:Body>
      <i2:EchoString id="ref-1" xmlns:i2="http://tempuri.org/">
         <EchoStringResult id="ref-3">string</EchoStringResult>
      </i2:EchoString>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>



Mono returns:

<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:clr="http://schemas.microsoft.com/clr/">
   <SOAP-ENV:Body>
      <i2:EchoStringResponse id="ref-1" xmlns:i2="http://tempuri.org/">
         <return id="ref-2" xsi:type="SOAP-ENC:string">string</return>
      </i2:EchoStringResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list