Win a copy of Java Challengers this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

xml digital signature

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A good article at Supporting Digital Signatures Within SOAP Messages.

Regards,
Dan
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic