axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-2719) PolicyReference can't be resolved from the binding level in a WSDL 1.1 File
Date Tue, 05 Jun 2007 10:35:29 GMT

     [ 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


Mime
View raw message