CXF-7832 JAX-WS context.containsKey(MessageContext.HTTP_REQUEST_HEADERS) returns false, even though headers are present in JBoss EAP 7

Solution Unverified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2
    • 7.1

Issue

JAX-WS context.containsKey(MessageContext.HTTP_REQUEST_HEADERS) returns false, even though headers are present, We already opened a JIRA ticket for this in Apache CXF: https://issues.apache.org/jira/browse/CXF-7832

Resolution

Apply JBoss EAP 7.2 CP1 or later
Apply JBoss EAP 7.1 CP6

Root Cause

Content from issues.jboss.org is not included.JBEAP-15390 - CXF-7832 - WrappedMessageContext containsKey not consistent with get/put
Content from issues.jboss.org is not included.JBEAP-15389 - CXF-7832 - WrappedMessageContext containsKey not consistent with get/put
Content from issues.apache.org is not included.CXF-7832 - WrappedMessageContext containsKey not consistent with get/put

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.