This documentation is archived and is not being maintained.

CSoapSocketClientT::SendRequest 

Call this method to send the SOAP message contained in the stream returned by GetWriteStream to the server.


HRESULT SendRequest(
   LPCTSTR szAction 
);

Parameters

szAction

The SOAPAction HTTP header.

Returns S_OK on success, or an error HRESULT on failure.

If the server sends back the 500 HTTP response code, the response body will be parsed for a SOAP Fault and the information used to set the members of m_fault.

Show: