My Oracle Support Banner

How To Install WLS JAX-WS Sample Code to Access Chain Handler Sample Code? (Doc ID 1262641.1)

Last updated on OCTOBER 24, 2023

Applies to:

Oracle WebLogic Server - Version 10.3.3 to 10.3.6
Information in this document applies to any platform.

Goal


The WebLogic Server (WLS) 10.3.3 web service example code includes two implementations of  JAX-WS client (SimpleClientService), including one that demonstrates the handler chain capabilities as described below:

SimpleClientJwsImpl.java is a POJO-based service implementation that uses the @WebService annotation. It also uses the @WebServiceRef annotation to access SimpleEjbService and @Resource to inject the WebServiceContext.

The new handler features of JAX-WS are also demonstrated in this service implementation. SimpleClientJwsImpl uses the @HandlerChain annotation to specify the location of the handler configuration XML file. There are two handlers configured for this service implementation: SOAPLogHandler is a simple SOAP Handler that outputs the SOAP Headers to the console and SOAPBodyLogHandler is a simple logical Handler that outputs the payload of incoming and outgoing messages.

This Note explains how to install WLS JAX-WS web services  example code for WLS 10.3.3, so that the chain handler code is accessible

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.