Поделиться через


SoapMapper (Windows Embedded CE 6.0)

1/6/2010

This object represents a message part defined in an operation's input or output message in a Web Services Description Language (WSDL) document.

A message part that appears in the input and output messages is represented by a single SoapMapper object.

You can use the SoapMapper object to convert part-content in a SOAP message to and from values accessible in a server or client application.

The following methods and properties are supported by the SoapMapper object.

Method Description

save Method (SoapMapper)

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.

Property Description

callIndex Property

Returns the value of the callIndex attribute for the <parameter> element in the Web Services Meta Language (WSML) file.

comValue Property

Allows the value of the SoapMapper object, represented as a COM-compatible data type that can be used by applications, to be set and retrieved.

elementName Property (SoapMapper)

Returns the name of the <part> element in the SoapSerializer object that the SoapMapper object maps to.

elementType Property

Returns the value of the type attribute for the <part> element in the Web Services Description Language (WSDL) file.

encoding Property (SoapMapper)

Returns the URI of the encoding style specified in the WSDL file for the SoapMapper object.

isInput Property

Indicates when the SoapMapper object appears:

  • In only the request message
  • In only the response message
  • In both the request and response messages

messageName Property

Returns the name of the <message> element that contains the SoapMapper object.

partName Property

Returns the name of the <part> element represented by the SoapMapper object.

xmlNamespace Property

Returns the namespace URI associated with the data type of the SoapMapper object.

Remarks

For an example, see WSDLReader.

Requirements

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

See Also

Reference

SOAP WSDL and WSML Objects
WSDLReader
WSDLService
WSDLOperation