wood burning stoves 2.0*
The moose likes Web Services and the fly likes JAX WS Web Service Encryption Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX WS Web Service Encryption" Watch "JAX WS Web Service Encryption" New topic

JAX WS Web Service Encryption

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166
Hi All,
We are using JAX-WS and apache CXF for developing web service. Our application is spring based web application and deployed in tomcat server. Now we have to encrypt our web services . What are different ways to achieve this ?

Thank You
Surendra Kumar
Ranch Hand

Joined: Jul 04, 2006
Posts: 235
You mean encrypting the request and response SOAP messages?
You may use HTTPS (SSL) for communication.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41101
That's the job of WS-Security: http://cxf.apache.org/docs/ws-security.html

Ping & DNS - my free Android networking tools app
francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166
Hi ,
Thanks . I went to this url . I am using code first approach . Will it work in this scenario also ?

Thank You
It is sorta covered in the JavaRanch Style Guide.
subject: JAX WS Web Service Encryption
Similar Threads
JAX-WS and JWSDP and Axis
Suggestion for novice to Web Service
Differences between JAX-RPC and JAX-WS.
Implementing Web Services with J2EE 1.4
JAX-RPC client for JAX-WS service