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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]