Share via


Init Method (ISoapServer)

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method initializes the SoapServer object (accessed using the ISoapServer interface) with the Web Services Description Language (WSDL) and Web Services Meta Language (WSML) files provided as input.

Syntax

HRESULT Init(
  BSTR bstrWSDLFileName,
  BSTR bstrWSMLFileSpec
);

Parameters

  • bstrWSDLFileName
    [in] WSDL file that describes the services offered by the server.
  • bstrWSMLFileSpec
    [in] WSML file that maps the operations of a service described in the WSDL file to specific methods in the COM object. WSML files are specific to the Microsoft SOAP implementation.

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