Hi, Both should be very similar with the old http endpoint. For the cxf bc, the proxy configuration looks like <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:sm="http://servicemix.apache.org/config/1.0" xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" xmlns:calculator="http://apache.org/cxf/calculator">
<cxfbc:consumer wsdl="/wsdl/calculator.wsdl" service="calculator:CalculatorService" endpoint="CalculatorPort" targetEndpoint="CalculatorPortProxy" targetService="calculator:CalculatorService" targetInterface="calculator:CalculatorPortType"> </cxfbc:consumer> <cxfbc:provider wsdl="/wsdl/calculator.wsdl" locationURI="http://localhost:9001/bridgetest" service="calculator:CalculatorService" endpoint="CalculatorPortProxy" interfaceName="calculator:CalculatorPortType" > </beans> For the new http endpoint, the proxy configuration looks like <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:person="http://servicemix.apache.org/samples/wsdl-first"> <http:consumer service="person:PersonService" endpoint="soapProxy" targetService="person:PersonService" targetEndpoint="soap" locationURI="http://0.0.0.0:8192/PersonService/" /> <http:provider service="person:PersonService" endpoint="soap" interfaceName="person:Person" locationURI="http://localhost:9000/PersonService/" /> </beans> Regards Freeman Lukasz L. wrote:
How can I specify proxy server for new HTTP endpoints (http:producer). I need to access external web service from behind a firewall. Old HTTP endpoints (http:endpoint) allowed proxy server configuration. How do it on new ones? Is it also possible to specify that on CXF provider?