ISOAPTransport2::Receive Method

HRESULT Receive([in, out] BSTR * characterEncoding, [out, retval] IUnknown ** responseStream);

Get the response message from the previously sent message.



BSTR *, [in, out]: The transport should set this to the character encoding of the data returned in the response stream. How it gets this information is transport specific (e..g for HTTP, it should look at the charset attribute on the content type header)
IUnknown **, [out, retval]: The response message as a stream. The callee should call Read on the resulting stream to access the response message.


Return Values

A Stream the caller can call Read on to obtain the response message


Sample Code



See Also

The ISOAPTransport2 Interface | 




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