File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes securing webservice stream using encryptbody policy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "securing webservice stream using encryptbody policy" Watch "securing webservice stream using encryptbody policy" New topic
Author

securing webservice stream using encryptbody policy

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
I fail to find any example of attempting to secure a webservice communication with the' encryptbody' policy using a symmetric key.
In fact,all examples tend to attempt all securing activities(signing,securing,encrypting et al) with the use of certificates.
We have a used-case wherein the partners are known and need to encrypt the communication using a known symmetric key.
We have our own authentication module - the only aspect of concern is encrypting the stream ,preferably using a WS-Policy,rather than writing our own handlers.
Any help on this will be greatly appreciated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
When you asked this question before, I pointed you to an article that explains how to do this using Axis; didn't that work out?


Ping & DNS - my free Android networking tools app
Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
can you please point me to the first part of that write-up too.
It seems there is no easy link to the first part which seems to talk about authentication.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: securing webservice stream using encryptbody policy