Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.11
-
None
-
JOnAS 5.1.0
Description
The MessageContext.HTTP_REQUEST_HEADERS & MessageContext.HTTP_RESPONSE_HEADERS properties are currently available for all the phases/steps of a webservice invocation (requestor and endpoint side, inbound and outbound direction).
They should only have a value at some well defined time:
- HTTP_REQUEST_HEADERS should only have a value on the endpoint side with the inbound direction
- HTTP_RESPONSE_HEADERS should only have a value on the requestor side with the outbound direction
I'm not sure if the specification mandates that behavior, but some tests are failing because of the WrappedMessageContext heavy lifting that happened between CXF 2.0.9 and 2.0.10