I created a web service with CXF and Spring support. The direct accessing is successful.
I then ran a WSO2 ESB and created a proxy service to that web service. Calling to the proxied service is failure.
I printed the proxied WSDL and found that the endpoints in that file were all ‘localhost’.
I guess the problem is typical but I cannot find any information to help. Any advice will be appreciated.
I created a web service with CXF and Spring support. The direct accessing is
Share
You need to edit you
axis2.xmlwhere you find the parameter “WSDLPrefix” for both http and https transport.This will create your Proxy endpoints correctly.
Complete information at: http://wso2.org/project/esb/java/4.0.0/docs/admin_guide.html#HostPort
P.S. I think Wso2ESB 4.5.0 is ‘smarter’ and does not need to modify these parameters. Hope this helps