Invoking web service requests transactionally using SOAP over JMS transport

Use the enableTransactionalOneWay property to ensure that one-way and two-way asynchronous web service requests using the industry standard SOAP over JMS transport will be sent to the destination queue or topic transactionally.

About this task

When using JMS to transport Java API for XML Web Services (JAX-WS) or Java API for XML-based RPC (JAX-RPC) web service requests, the default behavior is for the SOAP message to be added to the destination queue or topic non-transactionally or outside of the client application's transaction. Adding the SOAP message to the destination queue or topic is done outside of the transaction to avoid synchronization problems that can occur with two-way synchronous web service requests. However, you can choose to enable one-way and two-way asynchronous requests to be processed as part of a transaction. You can use the enableTransactionalOneWay property to ensure that one-way and two-way asynchronous web service requests that use the JMS transport are sent to the destination queue or topic transactionally. When the client application invokes the web service request, the resulting SOAP request message is added to the destination queue or topic as part of the client application's transaction.

Use one of the following ways to enable the enableTransactionalOneWay property.

Procedure

Results

You have a web services client application that is configured to invoke one-way and two-way asynchronous requests transactionally when using the JMS transport.

What to do next

After you have enabled the enableTransactionalOneWay property, run the client application.



In this information ...


Related information

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 4:16:02 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-dist&topic=twbs_jmstransactreqstd
File name: twbs_jmstransactreqstd.html