+

Search Tips   |   Advanced Search

Provide JMS and EJB endpoint URL information


To specify endpoint URL fragments for Web services accessed through SOAP and Java™ Message Service (JMS) or directly as enterprise beans. Fragments are used to form complete endpoint addresses included in published WSDL files.

To view this admin console page, click Applications > Application Types > WebSphere enterprise apps > application_name > Provide JMS and EJB endpoint URL information.

We can specify a fragment of the endpoint URL to be used in each Web service module. In a published WSDL file, the URL defining the target endpoint address is found in the location attribute of the port's soap:address element.

If using Web services modules that are configured to use JMS or configured to access enterprise beans directly, these modules are listed on this panel.

This admin console panel applies for JAX-WS and JAX-RPC Web services.

URL fragment for JMS

Specifies a URL fragment for Web services accessed through a JMS transport. We can enter a value used to define the soap:address of a Web service. When WSDL files are published, a URL is formed using this fragment and is contained in the WSDL files.

The URL fragment that is entered as a value is a prefix to which the targetService=property is appended to form a complete JMS URL endpoint. The default value is obtained by examining the installed service's deployment information, for example, jms:/queue?destination=jms/MyQueue&connectionFactory=jms/MyCF.

This information is obtained from the Web service's configured JMS endpoint, which is a Message Driven Bean (MDB) defined by the endpointEnabler command-line tool. We can modify the URL fragment, for example, by adding properties. The URL fragment is combined with the targetService property to form the complete URL, for example, jms:/queue?destination=jms/MyQueue&connectionFactory=jms/MyCF&priority=5&targetService=GetQuote.

URL fragment for EJB

Specifies a URL fragment for Web services accessed through an EJB binding. We can enter a value used to define the location attribute of the port's generic:address element of a Web service. This port address is contained in the WSDL zip file when the zip file is published using the application_name_ExtendedWSDLFiles.zip field on the Publish WSDL zip file panel.

The URL fragment value entered is a suffix, which is appended to the initial part of the URL obtained by examining the Web service's deployment information. For example, the following URL fragment can be obtained from the EJB's deployment information: wsejb:/com.acme.sample.MyStockQuoteHome?jndiName=ejb/MyStockQuoteHome.

In this case, we can enter the following information in the URL fragment field, jndiProviderURL=corbaloc:iiop:myhost.mycompany.com:2809, which results in this endpoint URL, wsejb:/com.acme.sample.MyStockQuoteHome?jndiName=ejb/MyStockQuoteHome&jndiProviderURL=corbaloc:iiop:myhost.mycompany.com:2809.





 

Related tasks


Set endpoint URL information for JMS bindings
Use SOAP over Java Message Service to transport Web services

 

Related


EJB endpoint URL syntax
IBM proprietary JMS endpoint URL syntax (deprecated)