ISOAPTransport2::Send Method

HRESULT Send([in] BSTR endpoint, [in] VARIANT env);

Send the specified envelope to the specified endpoint URL. The envelope can be a String (in which case it is assume to be a SOAP 1.1 envelope), or an Envelope object.

 

Parameters

endpoint
BSTR, [in]: ///todo: describe this parameter
env
VARIANT, [in]: ///todo: describe this parameter

 

Return Values

 

Sample Code

dim env, t
set env = CreateObject("PocketSOAP.Envelope")
env.EnvelopeVersion = "http://www.w3.org/2003/05/soap-envelope"
env.SetMethod "echoString", "http://example.org/ts-tests"
env.Parameters.Create "inputString", "Hello World"

set t = CreateObject("PocketSOAP.HTTPTransport")
t.Send "http://www.whitemesa.net/soap12/test-rpc", env
env.Parse t

 

See Also

The ISOAPTransport2 Interface | 

 

 

Copyright

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