Configuring a permanent replyTo queue for JAX-RPC web services using SOAP over JMS (deprecated)

When using two-way web service communications using the IBM® proprietary SOAP over JMS transport, you can benefit from configuring a permanent replyTo queue on Java™ API for XML-based RPC (JAX-RPC) web services client to prevent the client from having to create a temporary reply queue each time a web service request is made.

About this task

已淘汰的特性 已淘汰的特性: Beginning with WebSphere® Application Server 7.0, the IBM proprietary SOAP over JMS protocol is deprecated in favor of the emerging industry standard protocol. You can use the IBM proprietary SOAP over JMS protocol with your Java API for XML Web Services (JAX-WS) or JAX-RPC web services, however, you 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
A permanent replyTo queue is configured on the web services client in one of the following ways:
  • Specify the optional replyToDestination property in the JMS endpoint URL.
  • Set the replyTo queue programmatically on the client JAX-RPC Stub or Call object. Setting the replyTo queue as a Stub or a Call property affects all requests that are invoked using that Stub or Call object.
  • Set the replyTo queue as a Java virtual machine (JVM) system property. Setting the replyTo queue as a JVM system property affects all of your SOAP over JMS clients running in the particular JVM. If there are multiple clients in the same application that need to use a different replyTO queue, then the best option is to set the property programmatically.
Note: To set the permanent replyTo queue using any of these options, only client-side configuration is necessary. There is no configuration necessary on the web service provider side.

Procedure

Results

Your web services client can now receive IBM proprietary SOAP over JMS messages from a permanent replyTo queue.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:18
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twbs_jmspermreplyto
檔名:twbs_jmspermreplyto.html