+

Search Tips   |   Advanced Search

Provide HTTP endpoint URL information


To specify endpoint URL prefix information for Web services accessed by HTTP. Prefixes 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 HTTP endpoint URL information.

We can specify a portion 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.

This admin console panel applies for Java™ API for XML-Based Web Services (JAX-WS) and JAX-RPC Web services.

Specify endpoint URL prefixes for Web services

Specifies the protocol (either http or https), host_name, and port_number to be used in the endpoint URL.

We can select a prefix from a predefined list using the HTTP URL prefix or Custom HTTP URL prefix field.

The URL prefix format is protocol: //host_name:port_number, for example, http://myHost:9045. The actual endpoint URL contained in a published WSDL file consists of the prefix followed by the module's context-root and the Web service url-pattern, for example, http://myHost:9045/services/myService.

Select default HTTP URL prefix

Drop down list associated with a default list of URL prefixes. This list is the intersection of the set of ports for the module's virtual host and the set of ports for the module's appserver. Use items from this list if the Web services appserver is accessed directly.

To set an HTTP endpoint URL prefix, select Select default HTTP URL prefix and select a value from the drop down list. Select the check box of the modules that are to use the prefix and click Apply. When you click Apply, the entry in the Select default HTTP URL prefix or Select custom HTTP URL prefix fields, depending on which is selected, is copied into the HTTP URL prefix field of any module whose check box is selected.

Select custom HTTP URL prefix

Specifies the protocol, host, and port_number of the intermediate service if the Web services in a module are accessed through an intermediate node, for example the Web services gateway or an IHS server.

To set a custom HTTP endpoint URL prefix, also configure the custom JVM property, com.ibm.ws.webservices.enableHTTPPrefix in the admin console and set the value to true. Setting this custom JVM property is required so the custom HTTP URL is correctly populated in the URL field of the WSDL file that is returned to the client. If this custom JVM property is not configured, the custom HTTP URL prefix is not in the URL field in the copy of the WSDL file that the service returns to the client. To learn how to configure this custom JVM property, see the documentation on configuring additional HTTP transport properties using the JVM custom property panel in the admin console. Restart the appserver after this custom property has been defined so that this property is used by the system.

After the com.ibm.ws.webservices.enableHTTPPrefix custom JVM property is configured, select Select custom HTTP URL prefix and enter a value. Select the check box of the modules that are to use the prefix and click Apply. When you click Apply, the entry in the Select default HTTP URL prefix or Select custom HTTP URL prefix fields, depending on which is selected, is copied into the HTTP endpoint URL prefix field of any module whose check box is selected.





 

Related tasks


Use HTTP to transport Web services
Set endpoint URL information for HTTP bindings
Set additional HTTP transport properties using the JVM custom property panel in the admin console

 

Related


HTTP transport custom properties for Web services applications