• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic