Partager via


save Method (SoapMapper) (Windows Embedded CE 6.0)

1/6/2010

This method converts the COM value of the SoapMapper object to XML and saves the result as a <part> element in the SoapSerializer object representing a SOAP message.

Syntax

HRESULT save(
  ISoapSerializer* pISoapSerializer, 
  BSTR bstrEncoding, 
  enEncodingStyle enStyle,
  BSTR bstrMessageNS, 
  long lFlags 
);

Parameters

  • pISoapSerializer
    [in] SoapSerializer object to save the SoapMapper object in.
  • bstrEncoding
    Value of encodingStyle attribute specified in the Web Services Description Language (WSDL) file.
  • enStyle
    Value of the style and use attributes in the WSDL file (enDocumentEdncoded, enDocumentLiteral, enRPCEncoded, or enRPCLiteral).
  • bstrMessageNS
    XML namespace of the element being mapped.
  • lFlags
    If the value is 0, the method adds Href attribute to the element.

    If the value is 1, the method calls the SoapTypeMapper object.

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.

Remarks

You must call the save method on the same thread used to set the SoapMapper object's COM value.

Requirements

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

See Also

Reference

SoapMapper
WSDLReader