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, 2024

Applies to:

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

Goal

 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 javax.xml.ws.handler.soap.SOAPHandler interface. HeaderHandler which implements SOAPHandleradds the username and password.

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
 Requirements
 Configuring
 Instructions
 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.