I am using wso2 esb 4.8.1, I wish to handle warning of endpoints.I am trying to hit CXF services in tomcat server. If I test with wrong action (Operation/method)name or service name in tomcat. I am getting this message in SOAP.
<html>
<body>No service was found.</body>
</html>
Where as in my wso2esb not getting logged any error and that particular endpoint failing showing this message.
[2014-11-24 16:57:57,931] WARN - LoadbalanceEndpoint Endpoint [ServiceLEP] Detect a Failure in a child endpoint : Endpoint [EP3]
Since I don't know the CXF I wish to handle this in wso2esb How would I handle this message and send proper error response to client. Is any one able to help me. Thanks in advance.
If you are using a mediator, the response will be available in the inSequence. You can log that response with code such as this after your mediator:
Please advise if that works in your scenario.