JAX-WS Client Always Invokes Same Handler Ignoring New Handlers Added With HandlerResolver

(Doc ID 1917445.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.5 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

A JAX-WS web service client used HandlerResolver to add message handler classes, rather than using handler chains in xml files. It seemed that the web service client kept on using the first handler defined, even though the web service client created new service and proxy objects, and added a new handler each time it was invoked.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms