You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Järkeborn Joacim <jo...@consultant.volvo.com> on 2001/04/30 11:29:26 UTC
Generate SOAP fault
Hi,
I need to generate a SOAP fault in my Java server class.
If I just throw a SOAPException I will get the stacktrace in <detail> and I
don't want this.
The result I want is:
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>MyServer Error</faultstring>
<detail>
<errorcode>1</errorcode>
<message>A message</message>
</detail>
</SOAP-ENV:Fault>
How should I do this?
Using Apache SOAP 2.1.
Best regards
Joacim Järkeborn
Consultant - Systems Development
Cell Network Sverige AB
__________________________________________________
Volvo IT
Dept 9224, ARH4
Gothenburg, Sweden
Telephone..: +46 31 765 49 65
Mobilephone: +46 708 78 58 01
E-mail.....: joacim.jarkeborn@consultant.volvo.com
__________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org