• Post Reply Bookmark Topic Watch Topic
  • New Topic

Add an encryption token as a (wsse:BinarySecurityToken) in the client request  RSS feed

 
nimarta nanda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am building a web service client for a web service deployed on Microsoft .NET platform. The web service requires that the client needs to add an Encryption token (Server's public key that was used to encrypt request envelop) in the SOAP message. WSE2.0 uses this token to find the appropriate private key from server's key store to decrypt the xml envelope. If the server can't find the appropriate decryption (private) key, decryption of the envelop fails.
Therefore the SOAP request will have 2 (wsse:BinarySecurityToken) tokens- one for the signature and one for the encryption. I have not figured out a way how to do this using the web services client editor. Has anyone done this before? I am using WebSphere 5.1. Any help will be truly appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!