Hi Angel, I have not try this out, but in a axis2 book is a description about that.
If you define the rampart configuration as a child node of the service element in services.xml, the settings are global. But you can also define the rampart configuration as a child node of any operation element. In this case, the security settings are only active for this operation. I hope this helps! Regards Jochen > -----Ursprüngliche Nachricht----- > Von: [email protected] > Gesendet: 23.04.07 16:49:21 > An: [email protected] > Betreff: Re: [Axis2] WS-Policy on an operation level in services.xml > > Hi Sanka, > > I already checked and it seems to work (having security policies on > the operation level). Rampart in its default samples only applies > policies on the service level. Thanks. > > Regards, > Angel > > On 4/23/07, Sanka Samaranayake <[EMAIL PROTECTED]> wrote: > > > > > > > > On 4/23/07, Angel Todorov <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > Is it possible to associate policies for each individual operation , > > > in a service definition in services.xml, for example WS-SecurityPolicy > > > ? > > > > Yes. It is possible to associate policies even at message level using > > services.xml. > > > > > > > As far as I can see, a the moment a policy is applied for the whole > > > service and all of its operations. If this is not the case, can you > > > point me to some sample. > > > > > > Let me check and get back to you. Rampart must be having few .. > > > > Thanks > > Sanka > > > > > I think this is a very important feature and > > > should be supported by Axis2. Other frameworks such as JAX-WS RI 2.1 & > > > WSIT & NetBeans have support for it. > > > > > > Thanks very much for your feedback. > > > > > > Regards, > > > Angel > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > Sanka Samaranayake > > WSO2 Inc. > > > > http://www.bloglines.com/blog/sanka > > http://www.wso2.org/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
