Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Encryption of xml elements  RSS feed

 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Need to encrypt few of the vaules while sending request to WS (request xml), (SOAP)
for that any special tag needs to be added in xml to hold encrpted data or regular tag is enough?
<ns1:password> </ns1:password>

Please clarify
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should probably use WS-Security for this, which offers encryption of the message contents.
 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dittmer,

Could you please give info on which part of WS-Security is going to handle these?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you're asking. Here's an article I wrote some years ago on how to get Axis2 to do encryption, maybe that helps: http://www.javaranch.com/journal/2008/10/Journal200810.jsp#a5

My first name is Ulf, by the way. If you want to address me by my last name, then that's fine, but the polite way to do so is by prefixing it by "Mr". First name is fine, though.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!