+

Search Tips   |   Advanced Search

Preferred port mappings

Use this page to view and manage a preferred portType mapping for a web service.

This console page applies only to Java API for XML-based RPC (JAX-RPC) applications.

When we have multiple ports that reference the same portType (service endpoint interface), a preferred port specifies the port to use when the Service.getPort(Class SEI) method is called with only the service endpoint interface. To view this console page, click Applications > Application Types > WebSphere enterprise applications > application_name > Manage Modules > module instance > Web services client bindings > Edit > preferred_port_instance.


portType

PortType.

The preferred port and the portType values are both of the type java.xml.namespace.QName.


Preferred port

Preferred port to be associated with a particular portType. The Service.getPort(Class) method returns the preferred port associated with the specified service endpoint interface class (portType).

The preferred ports available are listed, as well as a value of None, which indicates no preferred port is selected.


Related tasks

  • Configure web services client bindings