Web services implementation scope

The scope value determines when a new instance of a service implementation is created for the Web service ports in a module. When the scope value is set to application, the same instance of the implementation is used for all requests on the application. When the scope value is set to session, the same instance is used for all requests on each session. When the scope value is set to request, a new instance is created for every request.

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 服務應用程式和用戶端。

Configuring the scope of a Web service port is supported with JAX-RPC applications.

Use this page to view and manage the scope of the ports of a Web service application.

To view this administrative console page, click Applications > Application Types > WebSphere enterprise applications > application_name > Manage Modules > module_instance > Web services implementation scope.

Port

Specifies a port name for a Web service. A module can contain one or more Web services, each of which can contain one or more ports.

Web service

Specifies the name of the Web service. A module can contain one or more Web services.

URI

Specifies the Uniform Resource Identifier (URI) of the binding file that defines the scope. The URI is relative to the Web module.

Scope

Specifies the scope of a port. The valid values for scope are request, session and application.




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

Related tasks


檔名: uwbs_server.html