Share via


save Method (SoapMapper) (Windows CE 5.0)

Send Feedback

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.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Mssoap.h.
Link Library: Uuid.lib.

See Also

WSDLReader | SoapMapper

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.