Partager via


write Method (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT write(
  ISoapSerializer* pSoapSerializer, 
  BSTR bstrEncoding, 
  enEncodingStyle encodingMode, 
  long lFlags, 
  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 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

ISoapTypeMapper