Поделиться через


SoapInvoke Method (Windows Embedded CE 6.0)

1/6/2010

This method gets the SOAP method out of the incoming SOAP message (request), executes the method, generates a SOAP outgoing message (response), and sends the response to the client.

Syntax

HRESULT SoapInvoke(
  VARIANT varInput,
  IUnknown* pOutputStream,
  BSTR bstrSoapAction
);

Parameters

  • varInput
    [in] SOAP message (request) from the client.
  • pOutputStream
    [in] Stream to which the response SOAP message is written. This response can have the result of the operation or a fault element describing an error.
  • bstrSoapAction
    [in] String that contains the value of the SoapAction HTTP header; default value is "". If bstrSoapAction is "", varInput must specify a ASP Request object from which the header value will be retrieved.

Return Value

The following table describes the common return values.

Value Description

S_OK

Success.

E_NOTIMPL

The function contains no implementation.

E_OUTOFMEMORY

Out of memory.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ISoapServer

Concepts

A Quick Introduction to WSDL
A Quick Introduction to WSML