I am developing connector on WSO2 ESB (REST service) and when end point is
wrong, I get HTTP "200 Ok" response with WSO2 error code.

ex:
HTTP/1.1 200 OK
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Host: cd-iranathunga:8280
Accept-Encoding: gzip,deflate
Content-Type: application/json
Date: Mon, 10 Feb 2014 11:30:10 GMT
Server: WSO2-PassThrough-HTTP
Transfer-Encoding: chunked
Connection: Keep-Alive

{ "error_code":"101503", "error_message":"Error connecting to the back end"
}

1. If I want to change the "200 OK" header and use it, is it ok to change?
2. if it is ok, then how to change the header? 



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Connector-REST-bad-endpoint-response-issue-tp91973.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to