[Mono-bugs] [Bug 548988] Cannot bind Web Service Type from return XML on Monotouch

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 20 16:40:05 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=548988

http://bugzilla.novell.com/show_bug.cgi?id=548988#c3


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|novellonly                  |
          Component|Class Libraries             |Sys.Web.Services
         AssignedTo|gnorton at novell.com          |atsushi at ximian.com
            Product|MonoTouch                   |Mono: Class Libraries

--- Comment #3 from Geoff Norton <gnorton at novell.com> 2010-02-20 21:40:02 UTC ---
This appears to be a bug in our soap/xml deserialization mapping stack.

If you look at the Soap enveleope it is:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetDepartureBoardResponse
xmlns="http://thalesgroup.com/RTTI/2007-10-10/ldb/types">
<GetDepartureBoardResult>

However looking at SoapHttpClientProtocol.cs:322 at the msi variable which is
the SoapMethodStubInfo, msi.ResponseSerializer.Mapping._mapping [0].ElementName
is "GetDepartureBoardRequestResult".

As far as I can tell this causes us to not properly deserialize the response
and return an empty array.

The mono (2.6) compiled binary from my uploaded test case does succeed when
running on MS CLR, so its something in our stack that isn't handling the case
where this mis mapping happens.

Moving to classlibs.

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


More information about the mono-bugs mailing list