ISOAPEnvelope2::EnvelopeVersion Property

[propget] HRESULT EnvelopeVersion([out, retval] BSTR * envelopeVersionUri);
[propput] HRESULT EnvelopeVersion([in] BSTR envelopeVersionUri);

This property can be used to control the version of soap used for this particular envelope. To switch soap versions, change this property to the namespace URI that represents the version of SOAP being used.


Return Values

a string value, either for SOAP 1.1 or for SOAP 1.2


Sample Code

dim env, t
set env = CreateObject("PocketSOAP.Envelope")
env.EnvelopeVersion = ""
env.SetMethod "echoString", ""
env.Parameters.Create "inputString", "Hello World"

set t = CreateObject("PocketSOAP.HTTPTransport")
t.Send "", env
env.Parse t


See Also

The ISOAPEnvelope2 Interface | 




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