[
https://issues.apache.org/jira/browse/AXIS2-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416242#comment-13416242
]
Hudson commented on AXIS2-4162:
-------------------------------
Integrated in Axis2 #1644 (See [https://builds.apache.org/job/Axis2/1644/])
Manually adding patch for AXIS2-4162. (Revision 1362479)
Result = FAILURE
sagara :
Files :
*
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
*
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisBindingMessage.java
*
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisBindingOperation.java
*
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisEndpoint.java
> AxisDescription.applyPolicy() fails to engage any neccessary modules if
> called on AxisBinding/AxisEndpoint
> ----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4162
> URL: https://issues.apache.org/jira/browse/AXIS2-4162
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.4, 1.4.1, nightly
> Reporter: Detelin Yordanov
> Fix For: 1.7.0
>
> Attachments: patch.txt
>
>
> Hi guys,
> I have been using the applyPolicy() method to automatically engage any
> modules required for the current policy. Nandana pointed me out that this is
> also being used in ADB generated client and I expected it to work properly
> any AxisDescription instance.
> However I noticed that if calling this method on AxisEndpoint and AxisBinding
> nothing happens - the policy is there but the modules do not get engaged.
> It seems that the reason for this is that the applyPolicy() iterates over the
> children of the current AxisDescription till it reaches the AxisMessage, then
> goes up the hierarchy collecting the effective policy.
> This works fine when called on any AxisDescription in the AxisService ->
> AxisOperation(s) -> AxisMessage(s) hierarchy, but if it is called on the
> AxisEndpoint it does not go further below since the AxisBinding is not added
> as a child to the AxisEndpoint.
> Furthermore even if it was able to go down and reach any potential
> AxisBindingMessages in the
> AxisEndpoint -> AxisBinding -> AxisBindingOperation -> AxisBindingMessage
> hierarchy it would not be able to compute the effective policy since the
> getApplicablePolicy(AxisDescription) method is working only on an AxisMessage
> instance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]