You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Kartheek Hirode <ka...@centegy.com> on 2001/05/10 02:36:42 UTC

xsi-type dependancy

Does the SOAP message from an MS-SOAP client still have to attach this
attribute to the payload parameter? I thought this was fixed in SOAP2.1
("Reduced dependency on xsi:type for deserialization"..as per 2.1 release
notes)

I have a VB-client (low-level) which attaches the "xsi-type" attribute and
everything works fine. But as soon as I take out the attribute I get the
SOAP-Fault below:
Thanks for any leads,
--Kartheek

This is the SOAP-Request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<SOAP-ENV:Body><ns1:AcceptanceTestUI-invokeRemoteSOAP xmlns:ns1="ping"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<PayloadString>Trial payload</PayloadString>
</ns1:myAgent-myService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


This is the SOAP-Fault response:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>No
Deserializer found to deserialize a ':PayloadString' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring>
<faultactor>/cif/servlet/soap</faultactor> </SOAP-ENV:Fault>
</SOAP-ENV:Body> </SOAP-ENV:Envelope>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org