JMS-XML Protocol Sample

This sample shows how to invoke a web service through a JMS message queue.

Concepts Demonstrated by this Sample

Sample Files

In your local file system, the sample is located at:

[BEA_HOME]\weblogic81\samples\workshop\SamplesApp\WebServices\jms_xmlProtocol\

The sample contains the following three files:

  1. ClientJWS.jws: This web service calls the java client file ClientXML.java.
  2. ClientXML.java: This JAVA file connects to the JMS queue, constructs SOAP requests, and sends those messages (via JMS) to invoke the web service JMS_XMLProtocol.jms.
  3. JMS_XMLProtocol.jws: This web service receives SOAP requests through the JMS queue. Responses are writen to System.out.

To Run the Sample

Related Topics

Building a JMS Client