Throw human readable webservice exception

0
I've published a webservice in Mendix and I always return a result object with succes false/true and optionally a error message. Even when one of the steps in my sub microflows fails every exception is caught with custom error handling. This way I always return a valid soap response back to the caller. Sometimes I would like to return a soapfault, but without the full stacktrace. I could skip the custom error handling and end the flow with a yellow error event. But I really would like to overwrite the soap fault with a more readable message. Is this possible in Mendix?
asked
1 answers
4

See the community commons it has a java action to throw a custom soap fault. So catch the fault that occurs and then throw your own custom soap fault.

answered