-
1. Re: Urgent::How to write Client program in Fuse Calling external web service
edelln Jul 9, 2008 4:04 AM (in response to jayasreeb)Hi,
Whats the purpose of your org.apache.servicemix.samples.webservice.FibonacciClient
class - what is it currently doing. You could just make the call from there to the external web service.
Edell.
-
2. Re: Urgent::How to write Client program in Fuse Calling external web service
jayasreeb Jul 9, 2008 5:40 AM (in response to jayasreeb)Hi
I need to call and get response from method calculatefibonacci defined in external webservice from my client program written in FUSE.
Pls suggest me how to write client program in FUSE?
-
3. Re: Urgent::How to write Client program in Fuse Calling external web service
sracem_s-racem Jun 1, 2012 4:28 AM (in response to jayasreeb)Hi Jay,
In fact i need also to call and get responce from method defined in external webservice, are you resolved your problem?
-
4. Re: Urgent::How to write Client program in Fuse Calling external web service
ffang Jun 1, 2012 5:07 AM (in response to sracem_s-racem)Hi,
You replied a very old thread which is almost 4 years ago.
The JBI way suggested here is kinda deprecated, you should use camel component instead if you start with a new project.
You can use camel-cxf to invoke external webservice and process response message.
Take a look at
http://camel.apache.org/cxf.html
to get more details
Freeman
-
5. Re: Urgent::How to write Client program in Fuse Calling external web service
sracem_s-racem Jun 6, 2012 5:39 AM (in response to ffang)Hi,
i decided to change JBI omponents
so before to start i want to know what is better: use camel components or osgi buindles and why?
thanks
-
6. Re: Urgent::How to write Client program in Fuse Calling external web service
ffang Jun 6, 2012 8:38 AM (in response to sracem_s-racem)Hi,
Actually all camel components are already bundles, and if you write your own camel routers, they should be bundle as well. So it's not you need make a choice between camel components and bundles, they already bind together and works in OSGi container.
Freeman
-
7. Re: Urgent::How to write Client program in Fuse Calling external web service
sracem_s-racem Jun 7, 2012 5:03 AM (in response to ffang)Hi,
thanks for your responses
if i good understand, when i want to create new camel component, i create new maven module with servicemix-camel-osgi-bundle as archetype, then i add dependecy to the camel component. it is true this?
in fact i search example that contains different components, in my case i need three components : component recover message from external webservice, component that send message to external webservice and another component to route messages from the first component to the second.
-
8. Re: Urgent::How to write Client program in Fuse Calling external web service
gertv Jun 9, 2012 9:08 AM (in response to sracem_s-racem)L.S.,
You should be able to handle this scenario with the camel-cxf endpoints. Camel already provides the routing you require out of the box, so all you need to do is to create a route that start and ends with a camel-cxf endpoint.
Regards,
Gert Vanthienen