W3C home > Mailing lists > Public > public-soap-jms@w3.org > September 2008

Do we need an Action 22A ? - Arbitrary JMS property expression in WSDL ?

From: Peter Easton <peaston@progress.com>
Date: Thu, 25 Sep 2008 17:39:42 -0400
Message-ID: <3712271BEF30D74CBEA9E827CD9ABDBD01BD2B6B@MAIL03.bedford.progress.com>
To: <public-soap-jms@w3.org>
Derek raised the issue on custom jndi parameters, which are expressly
for the client JNDI runtime, and do not propagate in the requestIRI.
We've also talked about customers that desire an ability to communicate
custom properties in the JMS exchange that are not in the SOAP payload.
Last weeks conclusion was that our current URI spec allows custom URI
parameters to be passed in the requestIRI, and that this mechanism could
provide a means to do that - the receiving application could parse the
requestIRI to obtain the properties.
There might be another mechanism that might be more JMS friendly and
that allows arbitrary JMS headers to be set (by WSDL extension only, not
URI).
I seem to recollect a conversation where someone had encountered a
customers that has asked about this.
The reason that I'm bringing this back is a thinking on the use case of
interaction with a legacy SOAP/JMS implementation.
What do people think ?
Here's a snippet showing the jmsProperty extension plus Derek's proposed
jndiProperty extension:

<wsdl11:port="...">
<soapjms:messageType>TEXT</soapjms:messageType>
<soapjms:jndiProperty name="com.xyz.naming.traceOn" value="true" />
<soapjms:jndiProperty name="com.xyz.naming.traceFile"
value="traceTrades.trc" />
<soapjms:jmsProperty name="Department" value="Sell" type="xs:string"/>
<wsdl11soap11:address location="jms:jndi:SampleQ1/>
</wsdl11:port>

Note, we would need to place limitations on what Java types can be used
when setting JMS properties - e.g. retrict to simple types, or to just
Strings.

Peter 
Received on Thursday, 25 September 2008 21:41:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:16:18 GMT