my dog learned polymorphism*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "xml digital signature" Watch "xml digital signature" New topic
Author

xml digital signature

vijay veeraraghavan
Greenhorn

Joined: Nov 18, 2007
Posts: 1
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

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

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xml digital signature