Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes How to create a secured Webservice using WS-Security starting with WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to create a secured Webservice using WS-Security starting with WSDL" Watch "How to create a secured Webservice using WS-Security starting with WSDL" New topic
Author

How to create a secured Webservice using WS-Security starting with WSDL

Nitin Bhardwaj
Ranch Hand

Joined: Feb 02, 2007
Posts: 72
Hi Friends,

I want to create a webservice (using WSDL first or Contract first approach) which is secured in three ways:
1. It requires a username/password for authentication.
2. It uses XML Signature for integrity.
3. It uses XML Encryption for confidentiality.

I started reading the WS-Security, but I am unable to find an example (using Apache CXF or JBoss 6 webservices) which shows me how to accomplish the above starting with a WSDL (Contract first approach) in a systematic step by step approach.
Will appreciate any help or pointers in this regard.

Best Regards,
Nitin
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to create a secured Webservice using WS-Security starting with WSDL