Complete the client implementation.

Before you begin

Develop JAX-WS client artifacts from a WSDL file.

About this task

Step 3 towards the goal: Implementing static JAX-WS web services clients

Write the client application code that is going to be used to invoke the Web service.

See Chapter 4 of the JSR 109 specification. For a complete list of the supported standards and specifications, see the web services specifications and API documentation.
Avoid trouble Avoid trouble:
  • If your client application is going to be installed in a server, it must be contained in either a WAR module or an EJB module. Shared library files are not scanned for JAX-WS clients. Therefore, a shared library JAR file cannot be used as the container for a client application.
  • If your client application creates a number of threads in the JSR 109 client, the metadata, including the WebSphere® Application Server configuration, is not copied to the thread, and the Global Security Handler is not called.
gotcha

What to do next

(Optional) Assemble a web services-enabled client Java archive (JAR) file into an enterprise archive (EAR) file.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 04:48 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-base-iseries&topic=twbs_devwbsjaxwsclient_step3
File name: twbs_devwbsjaxwsclient_step3.html