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