aspose file tools*
The moose likes Web Services and the fly likes Newbie doubts on XML Signature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Newbie doubts on XML Signature" Watch "Newbie doubts on XML Signature" New topic
Author

Newbie doubts on XML Signature

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

There is a third party web service which exposed its wsdl to clients and I used AXIS 1.2 RC2 to create stubs and have written a web service client program to access the web service. However may the server is expecting a signed xml signature in the soap message to verify them I am not able to successfully get a soap response from the wsdl and instead I get below exception.


AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: System.Web.Services.Protocols.SoapException: Server was unable to process request. --- System.Exception: Signature Verification Failed.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: System.Web.Services.Protocols.SoapException: Server was unable to process request. --- System.Exception: Signature Verification Failed.
faultActor:
faultNode:
faultDetail:


I am not sure what to do at this point. Can I use any certificate and keys and write a handler that signs my soap request message so that the server can verify that message ? Please suggest ....



Thanks & Regards,


RR Kumaran
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie doubts on XML Signature