atom feed15 messages in org.apache.ws.axis-userRe: can I use use rampart with JAX-WS...
FromSent OnAttachments
Tezc...@HVBIS.comApr 30, 2008 8:09 am 
Ruchith FernandoMay 6, 2008 12:56 am 
Tezc...@HVBIS.comMay 8, 2008 4:42 am 
Savitsky, AlexMay 8, 2008 6:38 am 
Tezc...@HVBIS.comMay 8, 2008 7:04 am 
Savitsky, AlexMay 8, 2008 7:34 am 
Tezc...@HVBIS.comMay 8, 2008 8:15 am.wsdl
Tezc...@HVBIS.comMay 8, 2008 8:40 am 
Savitsky, AlexMay 8, 2008 9:31 am 
Nandana MihindukulasooriyaMay 8, 2008 10:17 am 
Savitsky, AlexMay 8, 2008 10:27 am 
Nandana MihindukulasooriyaMay 8, 2008 9:23 pm 
Tezc...@HVBIS.comMay 9, 2008 1:54 am 
Tezc...@HVBIS.comMay 9, 2008 2:03 am 
Savitsky, AlexMay 9, 2008 6:31 am 
Subject:Re: can I use use rampart with JAX-WS style webservice
From:Ruchith Fernando (ruch@gmail.com)
Date:May 6, 2008 12:56:43 am
List:org.apache.ws.axis-user

I haven't tried this but I think the following solution will work:

- first implement lifecycle management on the service [1] - now in the "init" method you can get hold of the AxisService instance and then you can engage the rampart module on it. - Finally you can load the policy from a file as an org.apache.neethi.Policy object and add that to the AxisService instance as well.

Now you have a WS-Sec enabled service :-)

HTH

Thanks, Ruchith

p.s. You can also try WSO2 WSAS [2] and try the WS-Sec support available as well!

1. http://ws.apache.org/axis2/1_3/api/org/apache/axis2/service/Lifecycle.html 2. http://wso2.org/downloads/wsas On Wed, Apr 30, 2008 at 8:39 PM, <Tezc@hvbis.com> wrote:

Hi

I have a web service developed using jax-ws style annotations. So it does not require a services.xml, It is deployed to axis2 as jar file under WEB-INF\servicejars directory.

Now if I want to secure this service using rampart how do I link the policy.xml?

Where do I add the stuff such as <module ref="rampart"> that one usually adds into services.xml ?

cheers Tezcan