axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian DePradine (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3949) AddressingValidationHandler fails to enforce asynchronous only policy
Date Mon, 28 Jul 2008 15:07:32 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message