SOAP::Lite & mustUnderstand
by Simon Fell other posts by this author
Apr 3 2001 5:32AM messages near this date
Re: SQLData & mustUnderstand
|
Re: [soapbuilders] SOAP::Lite & mustUnderstand
Paul,
looks like you're being a little over zealous :), the mustUnderstand
in this request is 0, so you shouldn't fail it.
Cheers
Simon
pocketSOAP request
<S:Envelope xmlns:S=3D'http://schemas.xmlsoap.org/soap/envelope/'
xmlns:SOAP-ENC=3D'http://schemas.xmlsoap.org/soap/encoding/'
S:encodingStyle=3D'http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd=3D'http://www.w3.org/1999/XMLSchema'
xmlns:xsi=3D'http://www.w3.org/1999/XMLSchema-instance'>
<S:Header> <t:Transaction xmlns:t=3D'http://soapinterop.org/headers/'
S:mustUnderstand=3D'0'> 5</t:Transaction></S:Header><S:Body>
<m:echoString xmlns:m=3D'http://soapinterop.org/'> <inputString
xsi:type=3D'xsd:string'> Some ASCII string that needs echoing back please
<g> </inputString></m:echoString>
</S:Body> </S:Envelope>
SOAP::Lite response
<?xml version=3D"1.0" encoding=3D"UTF-8"?> <SOAP-ENV:Envelope
xmlns:xsi=3D"http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC=3D"http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd=3D"http://www.w3.org/1999/XMLSchema"
SOAP-ENV:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body=
> <SOAP-ENV:Fault><faultcode
xsi:type=3D"xsd:string"> SOAP-ENV:MustUnderstand</faultcode><faultstring
xsi:type=3D"xsd:string"> Header has mustUnderstand attribute set to
'true'</faultstring> <detail xsi:null=3D"1"/><faultactor
xsi:null=3D"1"/> </SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Thread:
Simon Fell
Paul Kulchenko
|