← Prev in month ← Prev in thread
Next in thread → Next in month →

Proposed resolution for issue BINDINGS-42 (updated)

From
Simon Holdsworth <>
Date
2008-12-19T11:52:06+00:00
ID
Thread
Proposed resolution for issue BINDINGS-42 (updated)
Proposed resolution to issue BINDINGS-42,
"Clarify default data binding for JMS" (updated)

Add the following text to section 5.2,
default data binding:

For example, for the following interface
definition:

<wsdl:definitions name="Coordinates"
targetNamespace="http://tempuri.org/coordinates" 

xmlns:tns="http://tempuri.org/coordinates"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <wsdl:types>

    <xsd:schema targetNamespace="http://tempuri.org/coordinates">

      <xsd:element
name="setCoordinates">

        <xsd:complexType>

          <xsd:sequence>

           
<xsd:element name="x" type="xsd:int"/>

           
<xsd:element name="y" type="xsd:int"/>

          </xsd:sequence>

        </xsd:complexType>

      </xsd:element>

    </xsd:schema>

  </wsdl:types>

  <wsdl:message name="setCoordinatesRequestMsg">

    <wsdl:part element="tns:setCoordinates"
name="setCoordinatesParameters"/>

  </wsdl:message>

  <wsdl:portType name="Coordinates">

    <wsdl:operation name="setCoordinates">

      <wsdl:input
message="tns:setCoordinatesRequestMsg" name="setCoordinatesRequest"/>

    </wsdl:operation>

  </wsdl:portType>

</wsdl:definitions>

When the setCoordinates operation is
invoked via a reference with a JMS binding that uses the default wire format,
the message sent from the JMS binding is a JMS text or bytes message with
the following content:

<setCoordinates xmlns="http://tempuri.org/coordinates">

  <x>10</x>

  <y>5</y>

</setCoordinates>

Simon Holdsworth

STSM, SCA Bindings Architect; Master Inventor; OASIS SCA Bindings TC Chair

MP 211, IBM UK Labs, Hursley Park, Winchester SO21 2JN, UK

Tel +44-1962-815059 (Internal 245059) Fax +44-1962-816898

Internet - 

Unless stated otherwise above:

IBM United Kingdom Limited - Registered in England and Wales with number
741598. 

Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
← Prev in month ← Prev in thread
Next in thread → Next in month →