It's not a secret anymore!
The moose likes Web Services and the fly likes xml digital signature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "xml digital signature" Watch "xml digital signature" New topic

xml digital signature

vijay veeraraghavan

Joined: Nov 18, 2007
Posts: 1

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

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
A good article at Supporting Digital Signatures Within SOAP Messages.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I agree. Here's the link:
subject: xml digital signature
jQuery in Action, 3rd edition