Hi Garry,
If you want to reference cxf web-service inside jbi container, you can
see how client proxy is used inside cxf-se.
the configuration is per as below
<cxfse:endpoint>
<cxfse:pojo>
<bean
class="org.apache.servicemix.cxfse.GreeterImplForClientProxy"
autowire="false">
<property name="calculator">
<cxfse:proxy service="calculator:CalculatorService"
context="#context" type="org.apache.cxf.calculator.CalculatorPortType" />
</property>
</bean>
</cxfse:pojo>
</cxfse:endpoint>
And [1] is a test to illustrate how client proxy is used
[1]
http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeClientProxyTest.java
Best Regards
Freeman
Garry wrote:
Hi,
I'm learning ServiceMix and JBI and would like to modify the ESB LoanBroker
example to call
one of the web services configured in the cxf-wsdl-first example. I've
looked around but
can't find an explanation of how to reference the web-service endpoint. Can
someone point
me in the right direction?
Thanks, Garry