Hi,
The 3rd party service you mentioned here is outside the jbi bus?
If so, what you want (creating a proxy using cxf) here is cxf binding component which play role as provider.
Yes, we support it.

You can get more details how it configured and used from a complete integration test from
[1]http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderTest.java
[2]http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/GreeterImplForProvider.java
[3]http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/provider.xml
[4]http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/provider/xbean.xml

I want explain how this test works since this test is a bit complex,
1. we start external webservice at http://localhost:9001/providertestdepstei2 in [1] 2. we send request to pojo (defined as [2]) inside cxf se, this pojo is configured in [4], this pojo is also injected proxy which actually is cxf bc provider configured in [3] 3. in the pojo [2], when the "greetMe" method is invoked, it invoke the injected proxy which is cxf bc provider, and this invocation passed through the cxf bc provider to external web service

Best Regards
Freeman

wrote:
How would I go about creating a proxy using cxf?  Is this possible, or would
I have to still use the http binding component to expose a 3rd party service
to the bus?

Reply via email to