You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/06/05 12:35:29 UTC

[jira] Assigned: (AXIS2-2719) PolicyReference can't be resolved from the binding level in a WSDL 1.1 File

     [ https://issues.apache.org/jira/browse/AXIS2-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2719:
----------------------------------------

    Assignee: Sanka Samaranayake

> 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
>             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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org