Greetings

I'm trying to write an webservice client wich uses signed SOAP messages in order to communicate. For this, i'm using wss4j 1.5.3 with axis 1.4. I've succesfully wrote the client code wich signs the message and sends it to the server, but i'm getting the following error:

      WSDoAllReceiver: security processing failed; nested exception is:
org.apache.ws.security.WSSecurityException: The signature verification failed (The provided certificate is invalid)

As far as i know (by reading posts in the internet) this is caused because the XML is modified after it is signed. I've tried to set the disablePrettyXML to true and the enableNamespacePrefixOptimization to false, but it didn't work...

I've read in other posts that this could be caused by the default blank namespaces added by Axis (when I checked the XML thanks to TCPMonitor, i could see that the attributes of the sent objects had no namespace, but the object itself had).

Does anybody have any solution for this problem? Could be possible to disable the default namespace in axis?

Thank you very much

--
Un saludo,

Tomás Tormo Franco

Indenova, S.L.
Tels.: +34 963 81 99 47  ext.519
http://www.indenova.com
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to