write Method (Windows CE 5.0)

Send Feedback

This method converts or serializes a complex type into XML in an outgoing SOAP message.

HRESULT write(ISoapSerializer* pSoapSerializer,BSTRbstrEncoding,enEncodingStyleencodingMode,longlFlags,VARIANT* pvar);

Parameters

  • pSoapSerializer
    [in] Reference to the ISoapSerializer interface pointer used to write the XML to the SOAP message.
  • bstrEncoding
    [in] EncodingStyle attribute specified in the Web Services Description Language (WSDL) file.
  • encodingMode
    [in] Style and use attributes in the WSDL file (enDocumentEncoded, enDocumentLiteral, enRPCEncoded, or enRPCLiteral).
  • lFlags
    [in] Reserved.
  • pvar
    [in] Data to serialize.

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.

Requirements

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

See Also

ISoapTypeMapper

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.