CSoapSocketClientT::SendRequest (ATL Server)

Switch View :
ScriptFree
ATL Server Library Reference
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.

Return Value

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

Remarks

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.

See Also

CSoapSocketClientT Overview | Class Members