Following error is thrown"Unable to add security token for identity". How to add plain text WS-Security username / token in soap headers? How to add username and password for basic authentication
(Doc ID 969832.1)
Last updated on MARCH 14, 2024
Applies to:
Oracle WebLogic Server - Version 10.3 and later Information in this document applies to any platform.
Goal
After web service is upgraded from WLS 8.1 to 10.3, the following exception is thrown:
How to add plain text WS-Security username / token in soap headers for client generated using clientgen in JAX-RPC and JAX-WS? How to add username and password for basic authentication for client generated using clientgen in JAX-RPC and JAX-WS?
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!