When the exchange involves a JMS MapMessage type, the JMS mapmessage extensibility element is used to define the mapping of the JMS MapMessage to the WSDL message parts and vice versa.
This element is a child element the JMS message extensibility element. The mapmessage element is a collection of one or more mappart elements.
The JMS mappart element contains the following attributes, all of which are required.
|
Element Name |
Description |
Example |
|---|---|---|
|
name |
The name of the mapmessage property that is mapped to the message part. |
JMSProp1 |
|
part |
The name of the message part that is mapped to the mapmessage property. |
msgPart1 |
|
type |
The Java type of the JMS mapmessage property. |
string |
The following example illustrates the JMS mapmessage and mappart extensibility elements.
...
<jms:message messageType="MapMessage">
<jms:mapmessage>
<jms:mappart part="partBoolean"
type="boolean"
name="BooleanMapEntry">
</jms:mappart>
<jms:mappart part="partChar"
type="char"
name="CharMapEntry">
</jms:mappart>
</jms:mapmessage>
</jms:message>
...
|