WebSphere Application Server supports the use of the Java Message Service (JMS) API to transport Web services requests, as an alternative to using HTTP.
Before you begin
Review the topic Using the Java Message Service to transport Web services requests.Why and when to perform this task
Configuring a service endpoint is necessary to connect Web service clients to any Web services among the components being assembled or to any external Web services. You can configure the endpoint URL information for JMS during application installation
In this task, enter the JMS endpoint URL prefix to use for each Web service-enabled enterprise JavaBean (EJB) Java archive (JAR) file that belong to the application. The JMS endpoint URLs are included in the Web Service Description Language (WSDL) files published for clients to use.
You can specify HTTP URL prefixes for Web services that are accessed through HTTP by using the Provide HTTP endpoint URL information panel in the administrative console. These prefixes are used to form complete endpoint addresses that are included in WSDL files when published.
You can specify JMS URL prefixes by using the Provide JMS and EJB endpoint URL information panel in the administrative console during or after application installation.
To configure JMS URL prefixes:
Steps for this task
The value that you enter is used to define the location attribute of the port soap:address element within the WSDL file that is published using the application_name_ExtendedWSDLFiles.zip or the application_name_WSDLFiles.zip file on the Publish WSDL zip files panel.
Result
You have a Web service that is accessible through the JMS transport and configured with JMS bindings.Example
jms:/queue?destination=jms/StockQuote_Q&connectionFactory=jms/StockQuote_CF
jms:/queue?destination=jms/StockQuote_Q&connectionFactory=jms/StockQuote_CF&targetService=getQuote
The published WSDL file is used by clients to invoke the Web service.
What to do next
Publish WSDL files.Related tasks
Publishing WSDL files
Configuring endpoint URL information for HTTP bindings
Configuring endpoint URL information to directly access enterprise
beans
Related reference
Java Message Service endpoint URL syntax
EJB endpoint URL syntax