ISOAPEnvelope::EncodingStyle Property

[propget] HRESULT EncodingStyle([out, retval] BSTR * pVal);
[propput] HRESULT EncodingStyle([in] BSTR newVal);

The EncodingStyle attribute is used in the SOAP message to identify what encoding model was used to generate the message, at this point in time there is only one standard encodingStyle defined [typically called section 5, as it is defined in section 5 of the SOAP 1.1 spec]. This property defaults to the section 5 encoding style URI of http://schemas.xmlsoap.org/soap/encoding/ . You may want to set this to an empty string if the endpoint you are calling is using literal XML rather than section 5.

 

Return Values

 

Sample Code

dim e
set e = CreateObject("pocketSOAP.Envelope.2")
' prints http://schemas.xmlsoap.org/soap/encoding/
wscript.echo e.EncodingStyle
e.EncodingStyle = ""

 

See Also

The ISOAPEnvelope Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.