+

Search Tips   |   Advanced Search

Invoking one-way JAX-RPC Web service requests transactionally using the JMS transport (deprecated)


Use the enableTransactionalOneWay property to ensure that one-way JAX-RPC Web service requests using the IBM proprietary JMS transport will be sent to the destination queue or topic transactionally.

Deprecated feature: In WAS 7.0, the IBM proprietary SOAP over JMS protocol is now deprecated in favor of the emerging industry standard protocol. Use the IBM proprietary SOAP over JMS protocol with your Java API for XML Web Services (JAX-WS) or JAX-RPC Web services, however, we are encouraged to take advantage of the SOAP over JMS protocol standard. This task describes configuring a permanent replyTo queue when using the IBM proprietary SOAP over JMS transport. To learn more about the SOAP over JMS standard, see the using SOAP over JMS to transport Web services documentation.depfeat

When using JMS to transport 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 Web service requests. However, we can choose to enable one-way requests to be processed as part of the transaction. The enableTransactionalOneWay property can be used to ensure that one-way Web service requests that use the JMS transport will be sent to the destination queue or topic transactionally. When the client application invokes the one-way 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.

 

 

Results

we have a Web service client application configured to invoke one-way requests transactionally while using the JMS transport.

 

Next steps

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

 

Related tasks


Use SOAP over Java Message Service to transport Web services
Task overview: Implement Web services applications

 

Related


Options for the AdminApp object install, installInteractive, edit, editInteractive, update, and updateInteractive commands

 

Related information


IBM proprietary SOAP over JMS protocol (deprecated)
SOAP over JMS protocol