Hi,
I need to access external service over SOAP from a cxf-su component. The
external service has a dynamic ip address, so I need to dinamically
configure the CXF-BC provider endpoint.
I managed to set up the connector provider in xbean.xml of my connector
component
<cxfbc:provider wsdl="classpath:GUI.wsdl"
locationURI="http://dummy"
service="gui:GUIService"
interfaceName="gui:GUI">
</cxfbc:provider>
If I set locationURI to a meaningful address instead of dummy, where my
external service runs, I can call it's methods from my cxf-su component.
But, since my external service can change the address, I need to somehow
reconfigure locationURI. I googled it and there is a mention of setting
JbiConstants.HTTP_DESTINATION_URI, but there is no clear explanation of how
and where to do it. Ideally it would be great if I could change it from a
class inside my cxf-su.
Is there a way to do this?
Thanks!
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Accessing-external-service-from-SMX-component-tp3374042p3374042.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.