How to map execption when using HTTP Proxy in switchyard ?
Issue
- If backend webservice throws a soapfault exception I am getting the exception as below instead I want a passthrough response back to the client.
Below is the sample response got for soapfault
org.switchyard.HandlerException: org.apache.camel.CamelException: <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode>env:Server</faultcode><faultstring></faultstring><detail><ns2:ServiceException xmlns:ns2='service'><errorCode>700</errorCode><errorDetails/></ns2:ServiceException></detail></env:Fault></env:Body></env:Envelope>
- I just want the response without the string prefix org.switchyard.HandlerException: org.apache.camel.CamelException:
Environment
- Red Hat JBoss Fuse Service Works
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.