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


Reply via email to