wood burning stoves 2.0*
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: 42601
That's done using WS-Security. An article by yours truly about how to do that using Axis can be found at http://www.javaranch.com/journal/2008/10/Journal200810.jsp#a5

Ping & DNS - my free Android networking tools app
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: http://www.javaranch.com/journal/200709/Journal200709.jsp#a3
Best Regards,
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: implementing encryption of SOAP messages.