I am sorry, i missed that part. Nandana, thanks for pointing out. Thanks AmilaJ
On Fri, Jan 7, 2011 at 1:28 PM, Nandana Mihindukulasooriya < [email protected]> wrote: > Hi Nick, > A small further clarification. > > >> If embedding WS Security Policy inside WSDL, does it contribute anything >>> to client stub and server skeleton code generation via wsdl2java? And how? >>> >> > Yes. It does. If you embed the security policy in the WSDL and generate the > client sub, it will inherit the policy from the WSDL and correctly attach > the policies to services / operations / messages. In a situation like this, > you only need to provide RampartConfig information like what is the > usersname / password, what key stores being used, etc. You can find an > examples for this in [1] tutorial. We should add few examples to demonstrate > this scenario and we will do that soon. > > Note that when you set RampartMessageData.KEY_RAMPART_POLICY, it > will override whatever policies set it in the client stub previously and > only KEY_RAMPART_POLICY will be taken into account. > > Best Regards, > Nandana > > [1] - http://wso2.org/library/3415#securing_the_client >
