you have to specify them in service.xml file On Mon, Feb 18, 2008 at 4:39 PM, Christian Mielke <[EMAIL PROTECTED]> wrote:
> OK thanks for your reply, but RAMPART needs the policy in the services.xml, > or not? Or is there another way to specify the policy for RAMPART and not in > the services.xml? > Greetings > Christian > > ----- original Nachricht -------- > > Betreff: Re: Policies in services.xml > Gesendet: Mo, 18. Feb 2008 > Von: Amila Suriarachchi > > There are two things > 1. Normally you can not set the Rampart specific polices in a wsdl file. > So any way you have to add them to the services.xml > 2. There is no need to add polices in the wsdl to the services.xml. At the > deployment time, the deployment engine creates the AxisObject structure > using the WSDL11ToAxisServiceBuilder. This correctly sets the polices to the > AxisObject structure. > > thanks, > Amila. > > > On Feb 18, 2008 1:17 PM, Christian Mielke <[EMAIL PROTECTED]> wrote: > Hello, > I want to use WS-Policy for my Web-Services. So I add a policy inside my > WSDL and then I use WSDL2JAVA to generate my code. When I use this tool, the > services.xml gets also generated, but why isn't the used policy of the > WSDL also written in the generated services.xml so that I only have to add > the neccessary RAMPART parameters? > Greetings > Christian > > > > -- > Amila Suriarachchi, > WSO2 Inc. > > --- original Nachricht Ende ---- > -- Amila Suriarachchi, WSO2 Inc.
