建立 Web 服務和用戶端的方法有很多種,例如註釋、Ant 作業或 Web 服務精靈。
下表概述建立 Web 服務和用戶端的各種方法,依據您用來建立服務或用戶端的構件類型排序。
表 1. 從 Java™ Bean 建立的 Web 服務| |
JAX-WS |
| WebSphere® Application Server 7.0 版或更新版本 |
|
| WebSphere Application Server 8.5.5 版 Liberty |
|
表 2. 從 EJB v2.x Enterprise Bean 建立的 Web 服務| |
JAX-WS |
| WebSphere Application Server 7.0 版或更新版本 |
|
| WebSphere Application Server 8.5.5 版 Liberty |
|
表 3. 從 EJB 3.x Enterprise Bean 建立的 Web 服務| |
JAX-WS |
| WebSphere Application Server 7.0 版或更新版本 |
|
| WebSphere Application Server 8.5.5 版 Liberty |
|
表 4. 從 WSDL 檔案建立的 Web 服務| |
JAX-WS |
| WebSphere Application Server 7.0 版或更新版本 |
|
| WebSphere Application Server 8.5.5 版 Liberty |
|
表 5. 從 WSDL 檔案建立的 Web 服務用戶端| |
JAX-WS |
| WebSphere Application Server 7.0 版或更新版本 |
|
| WebSphere Application Server 8.5.5 版 Liberty |
|