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 "David Illsley (JIRA)" <ji...@apache.org> on 2007/05/27 01:53:16 UTC

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

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
             Fix For: nightly


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


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

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srinath Perera updated AXIS2-2719:
----------------------------------

    Priority: Blocker  (was: Major)

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


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

Posted by "David Illsley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Illsley updated AXIS2-2719:
---------------------------------

    Attachment: PolicyTest.wsdl
                Driver.java

Simple testcase which demonstrates the problem

> 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
>             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


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

Posted by "Sanka Samaranayake (JIRA)" <ji...@apache.org>.
     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ 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