Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml digital signature

 
vijay veeraraghavan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear,

i have a requirement to access a web service using SOAP which is run by a third-party vendor. the service runs on https. the spec says the soap message should have the digital signature in the header part of the envelope.
now i am using the apache axis2 to access the service. i downloaded the wsdl file from the website and used wsdl2java to create the stub. i have downloaded the rampart of apache to sign the xml with digital signature. as i am fresh to the webservices i dont have much knowledge how to develop it. although i can call the service with the stub i get error on the ssl certificate.. i dont know what it is...
please guide me how to call the web service with xml digital signature in the header part of it. how can i put the sign on the header part. should i need to generate the signature/digest from the digi certificate that the web site gives? i have also imported that certificate to my system.
thanks in advance for the help

Vijay
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good article at Supporting Digital Signatures Within SOAP Messages.

Regards,
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic