You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Hansen, Richard" <Ri...@westgroup.com> on 2001/03/19 22:32:29 UTC

Soap fault questions?

I have questions about what I can do to genrate faults in Apache SOAP.

1) I would like to define some sepcific fault codes so the client can
identify error conditions. I assume these would extend the server fault code
class and look like "Server.xxxxx"? The spec seems to say that is how it
should be done.

2) I would like to possibly define some added detail for the fault detail
element. I think the spec allows this.

3) How best to create faults in Apache?

As far as I can tell, the only  way to generate faults is to throw a
SOAPException from my service class. I should be able to extend the fault
code and certainly can set the fault string this way. But I don't see how to
set any detail?

Thanks

Rick Hansen

The views, opinions, and judgments expressed in this message are solely
those of the author. The message contents have not been reviewed or approved
by West Group.