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
Oracle WebLogic Server - Version 10.3 to 220.127.116.11 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 javax.xml.ws.handler.soap.SOAPHandler 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!