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 NOVEMBER 21, 2023

Applies to:

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


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.


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

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