2 Replies Latest reply on Jul 3, 2008 5:13 AM by Jayasree B

    How to call external web service from Fuse ESB

    Jayasree B Novice



      Could you provide me an example of calling external web service from FUSE ESB?What are the steps involved in it?

        • 1. Re: How to call external web service from Fuse ESB
          deleted user Newbie



          I submitted a test case for this at apache - Have a look at



          You need to setup the Cxf-bc provider


          Create your archtype for the service-unit and in the pom indicatate that its the servicemix-cxf-bc component that you are going to use.


          So effectively your project should have




          src/main/resources/warehouse.wsdl (wsdl for your service)


          An example xbean.xml I have connecting to a warehouseService.



          <?xml version="1.0" encoding="UTF-8"?>

          <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"



          <cxfbc:provider service="ware:WarehouseService"

          endpoint="WarehouseEndpoint" useJBIWrapper="false"









          Hope this helps, Edell.


          Edited by: edelln on Jul 3, 2008 4:43 AM

          • 2. Re: How to call external web service from Fuse ESB
            Jayasree B Novice



            As per my understanding no need to write any java code if I am going to simply call the external web service.

            I need to create servicemix-cxf-bc which includes pom,xbean and wsdl of external web service.I need to add this to service assembly and deploy it in servicemix.


            If this is the case then how will I be testing the whole scenario of invoking external web service from Fuse?


            If my requirement is like that I will be getting response back from External Web service then what are the steps do i need to follow?