-
1. Re: Urgent: Calling and getting response from External web service using FUSE
edelln Jul 3, 2008 6:01 AM (in response to jayasreeb)You should really look at the Logisticxs Demo source to learn about how some of the service units are setup.
You effectively just need to setup a service unit for a servicemix bean component
put the servicemix-bean dependency into your pom.xml
In the src have a java class that will implement MessageExchangeListener and in your onMessageExchange method
create your exchange and send it.
You will need to create an inOut Exchange
For an example of creating the exchange take a look at the OrderServicesSupport class in the Logisticx Demo. Its within the order-ws-su service unit.
http://servicemix.apache.org/servicemix-bean.html
rgds, Edell.
-
2. Re: Urgent: Calling and getting response from External web service using FUSE
jayasreeb Jul 3, 2008 6:27 AM (in response to jayasreeb)Hi
If the external web service is exposing java method as web service(wsdl) which returns xml as output and if I need to call and get response back from this external web service using HTTP in FUSE ESB then how do i need to go about it?
IF its JMS we can go ahead with service bean and Message Exchange listerner right? Please correct me if I am wrong.
Please give me the steps for HTTP.
Jayasree.B