File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes implementing encryption of SOAP messages. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "implementing encryption of SOAP messages." Watch "implementing encryption of SOAP messages." New topic

implementing encryption of SOAP messages.

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
Can someone provide pointers to example or sample of implementing symmetric key encryption of SOAP communication with a web service,which does not need certificate.
The idea is that once a user gets authenticated he can be provided a key which is used for all subsequent communications.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
That's done using WS-Security. An article by yours truly about how to do that using Axis can be found at
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
The link was just a little way into the second article. Here it is:
Best Regards,
I agree. Here's the link:
subject: implementing encryption of SOAP messages.
It's not a secret anymore!