+

Search Tips   |   Advanced Search

Preferred port mappings

View and manage a preferred portType mapping for a web service.

This administrative console page applies only to 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.

From the admin console, click...

        Applications > Application Types > WebSphere enterprise applications > application_name > Manage Modules > module instance > Web services client bindings > Edit > preferred_port_instance.


portType

The 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.

  • Configure web services client bindings