Deploying a requester-mode JAX-WS web service

You can deploy a JAX-WS application as a requester mode web service in CICS® . However, these applications do not use the EXEC CICS INVOKE command, instead they interact with the remote web services using JAX-WS.

Before you begin

You must have a JVM server configured to support OSGi. For more information, see Setting up a JVM server.

About this task

The advantage of deploying a JAX-WS application as a requester mode web service is that you create a platform-independent web service requester application, which uses the IBM® z Systems® Application Assist Processor (zAAP). Using zAAP can reduce the cost of transactions; for more information, see the IBM Redbooks® publication: zSeries Application Assist Processor (zAAP) Implementation.

Procedure

  1. Create a web service requester application in Java™ and use an appropriate API, such as the Java API for XML web services (JAX-WS), to call the remote web service.
  2. Optional: If you use JAX-WS to start a remote web service, you must also use JAX-WS to generate the SOAP messages, handle the network communication, and process the SOAP response.
  3. Deploy your Java application and install it in the JVM server.

What to do next

Test that your web services start correctly.