On Fri, Jul 10, 2009 at 5:20 AM, Dennis Sosnoski <d...@sosnoski.com> wrote:
> The WSDL2Java codegen for server-side deployment appears to ignore any > WS-Policy information in the WSDL (unlike the client-side code generation, > which builds code to attach the policy information to the appropriate > description components). Are there any plans to include WS-Policy > information in the generated services.xml so that users starting from WSDL > won't need to add this manually? When generating the code for server side it adds the wsdl to the service archive. Therefore at the deployment time Axis2 builds the Axis object structure using the given wsdl and hence Axis2 object structure contains the polices. Isn't this work for you? But I think you need to add the rampart specific polices (keystore, passwords) to service.xml. thanks, Amila. > > - Dennis > > -- > Dennis M. Sosnoski > Java XML and Web Services > Axis2 Training and Consulting > http://www.sosnoski.com - http://www.sosnoski.co.nz > Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/