save Method (SoapMapper)

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.

  ISoapSerializer* pISoapSerializer, 
  BSTR bstrEncoding, 
  enEncodingStyle enStyle,
  BSTR bstrMessageNS, 
  long lFlags 


  • pISoapSerializer
    [in] SoapSerializer object in which to save the SoapMapper object.
  • 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.


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


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

See Also

WSDLReader | SoapMapper

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.