Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing of mustUnderstand header fails due to wrong namespaces #386

Open
Tomas-Kraus opened this issue Jun 2, 2022 · 0 comments
Open

Parsing of mustUnderstand header fails due to wrong namespaces #386

Tomas-Kraus opened this issue Jun 2, 2022 · 0 comments

Comments

@Tomas-Kraus
Copy link
Member

When using wsit the SOAP message headers are parsed using the com.sun.xml.ws.security.opt.impl.incoming.GenericSecuredHeader on the webservice provider side for incomming messages. The parsing of the header attributes is split up for SOAP 1.1/1.2 in the methods process11Header/process12Header.
Inside of these methods, the process11Header uses the 1.2 namespace for parsing the attributes like mustUnderstand and vice versa.

As a consequence the mustUnderstand flags are always remaining on the default false and later on assertion are not executed. An unknown header, flagged with mustUnderstand="true" is silently ignored.

Environment

Windows 2008 R2, Tomcat 7.0.32, jaxws-rt-2.2.8

Affected Versions

[2.3]

Source: javaee/metro-wsit#1684
Author: glassfishrobot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant