Share via


ISoapSerializer

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The interface, implemented by the SoapSerializer object, is used to build a SOAP message.

The following tables show the methods and properties supported by the ISoapSerializer interface.

Method Description

startBody and endBody Methods

This method begins the <Body> element in a SOAP message.

startBody and endBody Methods

This method ends the <Body> element for a SOAP message.

startElement and endElement Methods

This method begins an entry in the <Body> element.

startElement and endElement Methods

This method ends an entry (child element) in the <Body> element.

startEnvelope and endEnvelope Methods

This method begins an <Envelope> element in a SOAP message

startEnvelope and endEnvelope Methods

This method ends an <Envelope> element in a SOAP message.

getPrefixForNamespace Method

This method retrieves the prefix for existing namespace.

startFault, endFault, startFaultDetail, and endFaultDetail Methods

This method begins a <Fault> element in a SOAP message.

startFault, endFault, startFaultDetail, and endFaultDetail Methods

This method ends a <Fault> element in a SOAP message.

startFault, endFault, startFaultDetail, and endFaultDetail Methods

This method begins a <detail> element within a <Fault> element in a SOAP message.

startFault, endFault, startFaultDetail, and endFaultDetail Methods

This method ends the <detail> element within a <Fault> element in a SOAP message.

startHeader, endHeader, startHeaderElement, and endHeaderElement Methods

This method begins a <Header> element in a SOAP message.

startHeader, endHeader, startHeaderElement, and endHeaderElement Methods

This method ends a <Header> element in a SOAP message.

startHeader, endHeader, startHeaderElement, and endHeaderElement Methods

This method begins a child element in the <Header> element.

startHeader, endHeader, startHeaderElement, and endHeaderElement Methods

This method ends a child element in the <Header> element.

Init Method (ISoapSerializer)

This method initializes the SoapSerializer object.

reset Method

This method resets the SoapSerializer object to its initial state.

SoapAttribute Method

This method adds an attribute to an element when building a SOAP message.

SoapDefaultNamespace Method

This method sets the default namespace for the SOAP message

SoapNamespace Method

This method defines a namespace prefix and uses it to qualify the SOAP message elements.

writeBuffer Method

This method writes the value of an element to the SOAP message.

writeString Method

This method writes the value of an element to the SOAP message.

writeXML Method

This method writes a CDATA section into the stream.

Property Description

EncodingStream Property

Returns the EncodingStream on the destination.

Remarks

All the methods in the ISoapSerializer interface build SOAP messages. Before using any of these methods, you must set the stream to which the SoapSerializer object writes the SOAP messages. You can do this using the Init Method (ISoapSerializer) method. Also, you have to call the reset method between messages built using ISoapSerializer.

Requirements

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

See Also

Reference

SOAP Objects and Interfaces