-
1. Re: Urgent :How to call external web service &get response from them using FUSE
edelln Jul 3, 2008 5:32 AM (in response to jayasreeb)Well this depends what are you actually trying to do ?
What operation are you trying to invoke on your external web service ?
For example I had another service that I had deployed in servicemix that sent the invocation (servicemix-bean) component.
This would be an internal endpoint so it gets forwarded to the cxf-bc which takes that invocation effectively and invokes it on the external service.
If you take a look at the logisticx src code you will see in the OrderService how it invokes another Service.
You will need to replace it with the ServiceName etc of you external service.
http://open.iona.com/wiki/display/ProdInfo/Logisticx+Demo
rgds, Edell.
-
2. Re: Urgent :How to call external web service &get response from them using FUSE
jayasreeb Jul 3, 2008 5:44 AM (in response to jayasreeb)Hi
I have written a Java Method(HelloMethod) which returns XML as output.I am exposing this Java Method as web service through axis and tomcat.
Now My requirement is I need to call this external web service(HelloMethod) from Fuse ESB and need to get the response back from this .
1.What are the service units do I need to create to do this?
2.What are the entries do I need to make in xbean.xml,pom.xml?
3.How do I need to write a java program in Fuse which calls this method and gets response?
Jayasree.B
I am exposing a java method(HelloMethod) as a external web service .I need to invoke this method from Fuse and get
Well this depends what are you actually trying to do ?
What operation are you trying to invoke on your external web service ?
For example I had another service that I had deployed in servicemix that sent the invocation (servicemix-bean) component.
This would be an internal endpoint so it gets forwarded to the cxf-bc which takes that invocation effectively and invokes it on the external service.
If you take a look at the logisticx src code you will see in the OrderService how it invokes another Service.
You will need to replace it with the ServiceName etc of you external service.