Use this page to view and manage a preferred portType mapping for
a Web service.
newfeat Important: The WebSphere® Application Server Version 6.1
Feature Pack for Web Services extends the capabilities of this product
to introduce support for the Java API for XML-Based Web Services (JAX-WS) 2.0 programming model.
JAX-WS is the next generation Web services programming model complimenting
the foundation provided by the Java API for XML-based RPC (JAX-RPC) programming model. Using the strategic
JAX-WS programming model, development of Web services and clients
is simplified through support of a standards-based annotations model.
Although the JAX-RPC programming model and applications are still
supported, take advantage of the easy-to-implement JAX-WS programming
model to develop new Web services applications and clients.
newfeat Supported configurations: The Feature Pack for Web Services does not
support Java Message Service
(JMS) transports or enterprise beans. This product only supports an
HTTP transport and hosting JavaBeans endpoints within the Web container for JAX-WS Web services applications.
To develop enterprise beans hosted as Web services, you must use the
JAX-RPC programming model. This product does allow JAX-WS clients
to issue requests from any of the Java Platform, Enterprise Edition (Java EE) containers along with the client Java 2 Standard Edition (J2SE) environment.sptcfg
When you 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 administrative console page, click Applications >Enterprise
Application > application_instance > Manage Modules > module_instance >Web
services client bindings > Edit > preferred_port_instance.
Specifies the 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.