WAS v8.5 > Reference > Sets

Provide HTTP endpoint URL information

Use this page to specify endpoint URL prefix information for web services accessed by HTTP. Prefixes are used to form complete endpoint addresses included in published Web Services Description Language (WSDL) files.

To view this dmgr console page, click Applications > Application Types > WebSphere enterprise applications > 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 dmgr console page applies for JAX-WS and JAX-RPC web services.

In addition to the using the dmgr console, we can use property files to manage HTTP endpoint URL fragments. To learn about using property files to set and manage the URL fragments, see the information about working with web services endpoint URL fragment property files.


Specify endpoint URL prefixes for web services

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 application server. Use items from this list if the web services application server 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

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, you must also configure the custom JVM property, com.ibm.ws.webservices.enableHTTPPrefix in the dmgr 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 the service returns to the client. To learn how to configure this custom JVM property, see the documentation on configuring additional HTTP transport properties JVM custom properties Restart the application server 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.

The com.ibm.ws.webservices.enableHTTPPrefix custom property applies to JAX-RPC web services applications only.


Related


Use HTTP to transport web services
Configure endpoint URL information for HTTP bindings
Configure additional HTTP transport properties JVM custom properties/a>
Work with web services endpoint URL fragment property files


Reference:

HTTP transport custom properties for web services applications


+

Search Tips   |   Advanced Search