Java first ws-policy works quite nicely. You can use annotations on the sei
or you can configure this from spring and use a policy expression bean to
configure what policies are applied to what operations.

The systests have good examples. Search for Java first

Sent from my Galaxy S2
On Dec 15, 2012 2:25 AM, "Ladislav Lenčucha" <[email protected]>
wrote:

> Hi,
>
> messages are not send or received to/from WSDL, but to/from web service.
> WSDL only describes the WS..
>
> Anyway, there are plenty of examples, it depends on the detail you need. Do
> you have SOAP or REST (jaxws or jaxrs endpoint)? Generally, you can use
> filters or interceptors. Check the following articles out:
> http://cxf.apache.org/docs/secure-jax-rs-services.html
> http://cxf.apache.org/docs/ws-security.html
>
>
> --
> S pozdravom
> Ladislav Lenčucha
> [email protected]
>
>
>
> On Fri, Dec 14, 2012 at 7:43 AM, lv <[email protected]> wrote:
>
> >
> > I embed cxf in spring and create web services using java code. IOS
> devices
> > get or send message to these WSDL.
> > I browse articles of cxf apache website because I need to add security
> > (such security policy) to web services.
> > Is there any sample code or document about how add security to web
> > services?
> > Thanks a lot!
> >
>

Reply via email to