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 Alexander Rosemann <al...@gmail.com> on 2010/10/28 15:52:23 UTC
[Axis2 1.4.1] JSON error response
Hi,
I was wondering whether there is an easy way to define the the format of
JSON formatted error responses. At the minute my service returns error
messages that look similar to the example below.
{"Fault":"<soapenv:Fault
xmlns:soapenv=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"
xmlns:axis2ns1=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><faultcode>axis2ns1:Client<\/faultcode><faultstring>The
service cannot be found for the endpoint reference (EPR)
https:\/\/localhost:8443\/myContext\/services\/myService\/myOperation<\/faultstring><detail
\/><\/soapenv:Fault>"}
Where would I need to hook in to customize the JSON error message?
Best regards,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org