ISwATransport::Send Method
HRESULT Send([in] BSTR endpoint, [in] VARIANT Payload);
Sends the payload to the specified endpoint. The payload can be represented as a string, array or as a stream, allowing large payloads to be sent, without them
having to be entirely in memory.
Parameters
- endpoint
- BSTR, [in]: The endpoint URL to send the payload to (e.g. http://soap.4s4c.com/ssss4c/soap.asp)
- Payload
- VARIANT, [in]: The payload to send, this can be either a string (VT_BSTR), and array of bytes (VT_ARRAY | VT_UI1) or a data stream ( An implementation of IStreamReader )
Return Values
Sample Code
See Also
The ISwATransport Interface |
Copyright
Copyright © Simon Fell, 2000-2004. All rights reserved.