Feedback

  • Contents
 

ISOAPRequest::SetSOAPPayload Method

Synopsis

Sets the SOAP payload data to be sent with the request.  Currently, this must pass an object that supports IStream.  However, strings may be supported in a future release. This method does not return a value.

The payload data must be well-formed, meaning that it conforms to the XML specification.  This function does not check data to see if it is valid or well-formed.

Function Prototype

HRESULT SetSOAPPayload(

   [in] VARIANT vtSOAPPayload

);

C/C++ Syntax

HRESULT SetSOAPPayload(VARIANT vtSOAPPayload);

Parameters

vtSOAPPayload

The input parameter is a VARIANT that contains well-formed payload data.