[
https://issues.apache.org/jira/browse/AXIS2-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sanka Samaranayake resolved AXIS2-2719.
---------------------------------------
Resolution: Fixed
See: Committed revision 548275.
Thanks,
Sanka
> PolicyReference can't be resolved from the binding level in a WSDL 1.1 File
> ---------------------------------------------------------------------------
>
> Key: AXIS2-2719
> URL: https://issues.apache.org/jira/browse/AXIS2-2719
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Reporter: David Illsley
> Assignee: Sanka Samaranayake
> Priority: Blocker
> Fix For: nightly
>
> Attachments: Driver.java, PolicyTest.wsdl
>
>
> A Policy element at the top level of a WSDL cannot be resolved at the binding
> level with referred to with a PolicyReference. I believe this occurs because
> when the binding PolicyInclude is created the binding has no parent so a
> totally separate PolicyInclude is created. I will attach a simple example to
> demonstrate the problem.
> Here is the exception which I receive:
> Exception in thread "main" java.lang.RuntimeException: MyPolicy can't
> be resolved
> at
> org.apache.neethi.PolicyReference.normalize(PolicyReference.java:92)
> at
> org.apache.axis2.description.PolicyInclude.calculatePolicy(PolicyInclude.java:159)
> at
> org.apache.axis2.description.PolicyInclude.getPolicy(PolicyInclude.java:201)
> at Driver.main(Driver.java:28)
--
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]