ISOAPTransport::Send Method

HRESULT Send([in] BSTR endpoint, [in] BSTR Envelope);

This takes the SOAP Envelope and sends it to the endpointURL, exactly what that entails depends on the transport object being used. The transport object is responsible for transcoding the Envelope from the supplied UTF-16 format, to whatever is a suitable format for the transport medium [e.g. the HTTP transports transcodes to UTF-8 before sending the request]

 

Parameters

endpoint
BSTR, [in]: The endpoint URL, e.g. http://soap.4s4c.com/ilab/soap.asp , rawtcp://example.org:8002
Envelope
BSTR, [in]: The SOAP Envelope to send [normally generated by calling ISOAPEnvelope::Serialize()]

 

Return Values

///todo: discuss the possible return values

 

Sample Code

dim t
set t = CreateObject("pocketSOAP.HTTPTransport")
t.Send "http://example.org:8080/soap.jsp", e.serialize
e.parse t

 

See Also

The ISOAPTransport Interface | 

 

 

Copyright

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