Running an unmanaged web services JAX-RPC client
WebSphere® Application Server 9.0 版 and the Application Client for WebSphere Application Server 9.0 版 provides a thin Java Platform, Standard Edition 6 (Java SE 6) web services client runtime implementation that is based on the Java™ API for XML-based RPC (JAX-RPC) 1.1 specification. The Thin Client for JAX-RPC with WebSphere Application Server is a stand-alone Java SE 6 client environment that enables running unmanaged JAX-RPC web services client applications in a non-WebSphere environment to invoke web services that are hosted by the application server.
Before you begin
支援的配置: You can use the Thin Client for JAX-RPC with WebSphere Application Server as a stand-alone
client run time in a pure Java SE environment, or within an OSGi environment.
The Thin Client for JAX-RPC is not supported when running within WebSphere Application Server or WebSphere Application
Client environments. In this version of the application server, with
the exception of the Administration Thin Client, other Thin Client
run times provided with the application server can also reside in
the CLASSPATH and coexist with the Thin Client for JAX-RPC. sptcfgBefore you can set up a JAX-RPC unmanaged client environment you will need to obtain the Thin Client for JAX-RPC Java archive (JAR) file. To obtain the Thin Client for JAX-RPC, you must either install the application server or the application client.
The Thin Client for JAX-RPC JAR file, com.ibm.ws.webservices.thinclient_8.5.0.jar, is located in the app_server_root\runtimes directory. Refer to the license agreements to ensure correct usage and for limitations on copies of the Thin Client for JAX-RPC outside of the WebSphere environment.
- IBM® Software Development Kits (SDKs) Version 6.0
- Sun Java Development Kit (JDK) Version 6.0 that are provided by IBM
- non-IBM SDKs Version 6.0 with this limitation:
- Xerces limitation on non-IBM SDKs
If you are using a non-IBM SDK, because of dependencies with the Xerces implementation, you will need to download Xerces-J version 2.6.2 and set it in the classpath before attempting to run the Thin Client for JAX-RPC.
- Equinox 3.6 OSGi runtime environments
- Xerces limitation on non-IBM SDKs
About this task
支援的配置: Running web services clients
that invoke web services before the application server, in which the
client is running, has finished starting is not a supported scenario.sptcfg
支援的配置: WS-Addressing is not supported for JAX-RPC web
services in an unmanaged client environment. If you need to use WS-Addressing,
or a web service standard that relies on WS-Addressing, such as WS-Notification,
you must use the Thin Client for Java API for XML-based Web Services
(JAX-WS) instead. To learn how to setup and run the Thin Client for
JAX-WS, see the Thin Client for JAX-WS documentation.sptcfgProcedure
Results
避免困難: The following command illustrates how to display to
version of the thin client that you are
running:java -cp (wasHome)/runtimes/com.ibm.ws.webservices.thinclient_8.5.0.jar com.ibm.ws.webservices.Version
IBM Web services build: cf021412.02
IBM Web services release: 8.5.5
Time stamp: 5/14/14 21:11:46
![[Windows]](../images/windows.gif)
![[AIX]](../images/aixlogo.gif)
![[HP-UX]](../images/hpux.gif)
![[Solaris]](../images/solaris.gif)
![[Linux]](../images/linux.gif)
![[IBM i]](../images/iseries.gif)
作業主題