You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "T. Groch" <t....@gmail.com> on 2011/01/25 08:45:54 UTC

Decrypt SOAP Faults

Hi,

I got a little problem with some test cases for a project. I'm developing a
client and don't have access to the server side.
Using Axis2 1.5.4 and RAMPart 1.5.1 (HTTPS).

All messages are encrypted and signed. Communication with non-errors works
fine.
But when I receive a fault, RAMPart seems not to decrypt it and I don't get
the fault string etc.

- The received SOAP message has the fault-action in it's header, but the
rest is still encrypted.
- In my client, I get an AxisFault saying, that there's no fault element
within the fault.

I assume that Axis2 / RAMPart tries to find the body without decrypting the
SOAP fault message. How can I force it to decrypt it before trying to read
the faul?
Thank you in advance.

Best regards.