Configuring WSO2 ESB to Work with an HTTP Proxy Server for Handling SOAP
Requests and Responses
Our WSO2 ESB server (Windows, v4.7.0) runs on a machine on which all
connections go through a corporate http proxy server.
We have both a WSDL-based proxy service and a pass-through proxy service
configured on our WSO2 ESB server (both have published WSDL with in-line
specification). However, when we try to test these WSDL's generated by
WSO2 ESB with Soap UI, there is no response.
We are running WSO2 ESB server with the following arguments:
C:\wso2\wso2esb-4.7.0\bin>wso2server.bat -Dhttp.proxyHost=10.0.0.3
-Dhttp.proxyPort=8080 -Dhttps.proxyHost=10.0.0.3 -Dhttps.proxyPort=8080
Here, 10.0.0.3 is the IP address of the corporate http proxy server and
8080 is the port for that.
We also analyze the traffic (packets) with WireShark (using filter: ip.dst
== 10.0.0.3) to see what is going on.
When we send a request to wsdl-based proxy service WSDL in Soap UI, we can
trace that the request goes to the correct endpoint (via http proxy
server) but there's no response. It seems to us that the response is
somehow lost between the http proxy server and WSO2 ESB or we are missing
something to tell WSO2 ESB to handle such responses whose requests are
directed through an http proxy server.
When we send the same request to pass-through proxy service WSDL in Soap
UI, it is more problematic when we investigate Wireshark trace because the
request seems to fail reaching the correct endpoint.
How do we make sure that WSO2 ESB works with our corporate http proxy
server in directing and receiving requests / responses?
No comments:
Post a Comment