My Oracle Support Banner

Sample for Setting up Security Headers for a Secured Webservice Using JAX-WS Handlers(with no Access to WebLogic jars). (Doc ID 1458735.1)

Last updated on JUNE 28, 2023

Applies to:

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


 Invoking Web service from standalone Java client (with no access to Weblogic jars) that needs to invoke a WebLogic web service that has attached the security policy 'Wssp1.2-2007-Https-UsernameToken-Plain.xml'.

To create the required header, the standalone Java client implements the interface. HeaderHandler which implements SOAPHandleradds the username and password.


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
 Sample Code

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