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 "Angel Todorov (JIRA)" <ji...@apache.org> on 2007/03/29 07:55:25 UTC

[jira] Created: (AXIS2-2426) Policy-driven code generation is broken

Policy-driven code generation is broken
---------------------------------------

                 Key: AXIS2-2426
                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1.1
         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
            Reporter: Angel Todorov
            Priority: Critical
             Fix For: 1.2


When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 

Here is the problem reported by email:

Hi,

I have seen "policy-driven code generation" as a feature of Axis2, but
I couldn't get it to work properly. Is this feature currently
supported in Axis2 ? If yes, where can I find a sample demonstrating
it?

What I assume it means, is to have a policy (let's say UsernameToken
auth) in my WSDL, and when I run wsdl2java, I would like to have the
rampart module automatically engaged in the generated stubs, and most
of the setups of the module -  auto generated. To sum it up:

1) given a WSDL with policy definitions in it
2) run wsdl2java
3) the tool generates code in the stub that "activates" the policy

Thanks.

Regards,
Angel


-- 
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-2426) Policy-driven code generation is broken

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

Deepal Jayasinghe updated AXIS2-2426:
-------------------------------------

    Fix Version/s:     (was: 1.2)
                   nightly

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>            Priority: Critical
>             Fix For: nightly
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

-- 
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] Commented: (AXIS2-2426) Policy-driven code generation is broken

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498645 ] 

Davanum Srinivas commented on AXIS2-2426:
-----------------------------------------

Sanka, Amila,

Thoughts?

thanks,
dims

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Critical
>             Fix For: nightly
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

-- 
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-2426) Policy-driven code generation is broken

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

Deepal Jayasinghe reassigned AXIS2-2426:
----------------------------------------

    Assignee: Sanka Samaranayake  (was: Amila Chinthaka Suriarachchi)

Hi Sanka ,
We need to fix this for 1.3 release.

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>            Assignee: Sanka Samaranayake
>            Priority: Blocker
>             Fix For: 1.3
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

-- 
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-2426) Policy-driven code generation is broken

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

Sanka Samaranayake resolved AXIS2-2426.
---------------------------------------

    Resolution: Fixed

Fixed in Committed revision 552830.

I will provide a detailed explanation shortly ..

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>            Assignee: Sanka Samaranayake
>            Priority: Blocker
>             Fix For: 1.3
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

-- 
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] Commented: (AXIS2-2426) Policy-driven code generation is broken

Posted by "Angel Todorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498154 ] 

Angel Todorov commented on AXIS2-2426:
--------------------------------------

Hi Amila,

I would like to help and take over with resolving this JIRA, as it is already staying too long in the queue and we urgently need it. Can you give me some feedback if you have any idea how it can be fixed, and if there has been any intermediary Axis2 version that has supported this feature? This will significantly help me. Thanks very much.

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Critical
>             Fix For: nightly
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

-- 
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-2426) Policy-driven code generation is broken

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

Deepal Jayasinghe reassigned AXIS2-2426:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Critical
>             Fix For: nightly
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

-- 
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-2426) Policy-driven code generation is broken

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

Deepal Jayasinghe updated AXIS2-2426:
-------------------------------------

    Priority: Blocker  (was: Critical)

if you are doing this , let's do this for 1.3

> Policy-driven code generation is broken
> ---------------------------------------
>
>                 Key: AXIS2-2426
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2426
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Apache Tomcat 5.5.23 , WinXP Pro, Axis2 1.1.1 , rampart-1.1 , etc.
>            Reporter: Angel Todorov
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>             Fix For: nightly
>
>
> When I have a policy in my WSDL , the policy-enforcement is not affected in the generated code. 
> Here is the problem reported by email:
> Hi,
> I have seen "policy-driven code generation" as a feature of Axis2, but
> I couldn't get it to work properly. Is this feature currently
> supported in Axis2 ? If yes, where can I find a sample demonstrating
> it?
> What I assume it means, is to have a policy (let's say UsernameToken
> auth) in my WSDL, and when I run wsdl2java, I would like to have the
> rampart module automatically engaged in the generated stubs, and most
> of the setups of the module -  auto generated. To sum it up:
> 1) given a WSDL with policy definitions in it
> 2) run wsdl2java
> 3) the tool generates code in the stub that "activates" the policy
> Thanks.
> Regards,
> Angel

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