My Oracle Support Banner

How to access the WS-Security headers in a JAX-WS based webservice method? (Doc ID 1062865.1)

Last updated on JUNE 20, 2024

Applies to:

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

Goal

NOTE:  The attribute values used in this article represent fictitious sample names that are made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.

Consider the following scenario:

1. You have a JAX-WS based webservice protected with Wssp1.2-2007-Wss1.0-UsernameToken-Plain-X509-Basic256.xml security policy.

2. Inside your webservice method you try to access the security headers using the following standard code.


3. The security headers are missing while all the other header information is available.

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


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