ISoapSerializer (Windows CE 5.0)
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 | This method begins the <Body> element in a SOAP message. |
endBody | This method ends the <Body> element for a SOAP message. |
startElement | This method begins an entry in the <Body> element. |
endElement | This method ends an entry (child element) in the <Body> element. |
startEnvelope | This method begins an <Envelope> element in a SOAP message |
endEnvelope | This method ends an <Envelope> element in a SOAP message. |
getPrefixForNamespace | This method retrieves the prefix for existing namespace. |
startFault | This method begins a <Fault> element in a SOAP message. |
endFault | This method ends a <Fault> element in a SOAP message. |
startFaultDetail | This method begins a <detail> element within a <Fault> element in a SOAP message. |
endFaultDetail | This method ends the <detail> element within a <Fault> element in a SOAP message. |
startHeader | This method begins a <Header> element in a SOAP message. |
endHeader | This method ends a <Header> element in a SOAP message. |
startHeaderElement | This method begins a child element in the <Header> element. |
endHeaderElement | This method ends a child element in the <Header> element. |
Init | This method initializes the SoapSerializer object. |
reset | This method resets the SoapSerializer object to its initial state. |
SoapAttribute | This method adds an attribute to an element when building a SOAP message. |
SoapDefaultNamespace | This method sets the default namespace for the SOAP message |
SoapNamespace | This method defines a namespace prefix and uses it to qualify the SOAP message elements. |
writeBuffer | This method writes the value of an element to the SOAP message. |
writeString | This method writes the value of an element to the SOAP message. |
writeXML | 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 ISoapSerializer::Init method. Also, you have to call the reset method between messages built using ISoapSerializer.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mssoap.h.
Link Library: Uuid.lib.
See Also
Send Feedback on this topic to the authors