AddressingValidationHandler fails to enforce asynchronous only policy
---------------------------------------------------------------------
Key: AXIS2-3949
URL: https://issues.apache.org/jira/browse/AXIS2-3949
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: Addressing
Reporter: Brian DePradine
If a service provider is configured to accept only async requests, and a
request comes in that does not contain WS-Addressing headers then the request
will not be rejected (as it should be). This is becuase the
SOAPMessageBodyBasedDispatcher will be used to dispatch the message, instead of
the AddressingBasedDispatcher. This means that the AddressingValidationHandler
will not have all of the information it needs, at the time it is invoked, in
order to correctly enforce the policy.
Solution:
The AddressingValidationHandler needs to run after the
SOAPMessageBodyBasedDispatcher, but the checkAction() operation needs to be
moved to the AddressingBasedDispatcher, in order to ensure that it only runs if
we have dispatched based on the wsa:Action.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]