+

Search Tips   |   Advanced Search

Preferred port mappings


To view and manage a preferred portType mapping for a Web service.

This admin console panel 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 admin console page, click Applications > Application Types > WebSphere enterprise apps > 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


Set Web services client bindings