[ http://issues.apache.org/jira/browse/AXIS2-1752?page=all ]
Asankha C. Perera resolved AXIS2-1752.
--------------------------------------
Resolution: Fixed
fixed for 1.1.1
> Support POX, Text and Binary JMS messages without requiring any additional
> headers
> ----------------------------------------------------------------------------------
>
> Key: AXIS2-1752
> URL: http://issues.apache.org/jira/browse/AXIS2-1752
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: kernel
> Affects Versions: 1.1
> Reporter: Asankha C. Perera
> Assigned To: Asankha C. Perera
> Priority: Minor
> Attachments: jms_pox_fix.patch, jms_pox_fix.patch
>
>
> I have updated the JMS transport to support POX, Text and Binary JMS messages
> without requiring any additional headers. A service could optionally provide
> the QName for the operation to invoke on such messages where the operation
> cannot be determined (i.e. pure text/binary messages with non-xml content),
> and this could be then specified with a parameter named
> "transport.jms.Operation"; this will default to urn:mediate. A service could
> optionally provide a QName for an element that will act as the holder of such
> content, and this could be specified with a parameter named
> "transport.jms.Wrapper" and will default to "jmsMessage" in the axis2
> namespace.
> Hence a simple JMS text message with the content "hello world" would be
> transformed into the form
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><axis2ns1:jmsMessage
> xmlns:axis2ns1="axis2"><![CDATA[hello
> world]]></axis2ns1:jmsMessage></soapenv:Body></soapenv:Envelope>
> and a simple JMS binary message containing a byte array, as shown below
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <axis2ns1:jmsMessage
> xmlns:axis2ns1="http://ws.apache.org/namespaces/axis2">
> <xop:Include href="cid:1.urn:uuid:[EMAIL PROTECTED]"
> xmlns:xop="http://www.w3.org/2004/08/xop/include" />
> </axis2ns1:jmsMessage>
> </soapenv:Body>
>
> </soapenv:Envelope>--MIMEBoundaryurn_uuid_2E8CC8B0B017204A1A11611743285462content-id:
> <1.urn:uuid:[EMAIL
> PROTECTED]>content-type:application/octet-streamcontent-transfer-encoding:binary[[actual
> bytes here]]--MIMEBoundaryurn_uuid_2E8CC8B0B017204A1A11611743285462--
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]