Hi,
We are sending the following request to a .Net 3.5 ASMX web service.
<SOAP-ENV:Envelope 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/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Login xmlns="http://tempuri.org/" id="o0" SOAP-ENC:root="1">
<password xsi:type="xsd:string">1234</password>
<userName xsi:type="xsd:string">Developer</userName>
</Login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
On debugging, the web-service, we find that the parametr values available to the web method (login and method) are null.
However if we remove the xsi:type= "xsd:string" attribute from the password and username, everything works.
The namespace xsd points to http://www.w3.org/2001/XMLSchema, which is valid.
Why can't .Net deserialize the response? and why does it not throw an exception?
BTW: Our service definition aliases http://www.w3.org/2001/XMLSchema as "s". Could that be an issue?
Kind regards,