Preferred port mappings

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

Important: IBM® WebSphere® Application Server 支援 Java™ API for XML 型 Web 服務 (JAX-WS) 程式設計模型和 Java API for XML 型 RPC (JAX-RPC) 程式設計模型。 JAX-WS 是延伸 JAX-RPC 程式設計模型所提供之基礎的下一代 Web 服務程式設計模型。 當使用策略性 JAX-WS 程式設計模型時,透過支援標準型註釋模型,簡化了 Web 服務和用戶端的開發工作。 雖然仍支援 JAX-RPC 程式設計模型和應用程式,但請利用易於實作的 JAX-WS 程式設計模型來開發新的 Web 服務應用程式和用戶端。

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.

portType

Specifies the portType.

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

Preferred port

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.




標示(線上)的鏈結表示需要存取網際網路。

Related tasks


檔名: uwbs_preferredport.html