My Oracle Support Banner

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 OCTOBER 13, 2020

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!


In this Document
Goal
Solution
 Adding username and password for client generated using clientgen in JAX-RPC and JAX-WS
 JAX-RPC
 JAX-WS
References


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