Provide JMS and EJB endpoint URL information

Use this page to specify endpoint URL fragments for Web services accessed through SOAP and Java Message Service (JMS) or directly as enterprise JavaBean (EJBs). Fragments are used to form complete endpoint addresses included in published Web Services Description Language (WSDL) files.

To view this administrative console page, click Applications >Enterprise Applications > application_instance > 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 you are using Web services modules that are configured to use JMS or configured to access EJBs directly, these modules are listed on this panel.

 

Configuration tab

URL fragment for JMS

Specifies a URL fragment for Web services accessed through a JMS transport. We can enter a value that is 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 appname_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, one 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


Configuring endpoint URL information for JMS bindings
Using the Java Message Service API to transport Web services requests