You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "D. Delcomminette" <dd...@aireinfo.com> on 2003/07/10 07:05:11 UTC
SOAP Response format
Hi,
I met two different formats of SOAP response in different implementations, I
would like to know if they are both valid and wch oneis more usual or
advisable?
1)
<?xml version="1.0" encoding="UTF-8"?>
<e:Envelope xmlns:e="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:d="http://www.w3.org/2001/XMLSchema"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wn0="http://systinet.com/xsd/SchemaTypes/"
xmlns:wn1="http://idoox.com/interface">
<e:Body>
<wn0:string_Response i:type="d:string">Hello, Domi!</wn0:string_Response>
</e:Body>
</e:Envelope>
2)
<?xml version="1.0" encoding="UTF-8"?>
<e:Envelope xmlns:e="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wn0="http://systinet.com/xsd/SchemaTypes/"
<e:Body>
<string_Response xmlns="http://idoox.com ....">Hello,
Domi!</string_Response>
</e:Body>
</e:Envelope>
Some clients, like MS Infopath do no support the second fashion ????
Thanks
Dominique