1 Reply Latest reply on Jul 28, 2009 5:13 AM by Martin Murphy

    Invoking an external Web Service with CXF-BC

    Angel Angel Newbie

      Hi everyone,


      I'm new to FUSE ESB. I'm trying to invoke an external Web Service via a CXF BC (provider) with FUSE ESB 3. However, I haven't been able to make it work. The logs doesn't show anything at all (no error or success messages).


      I know the Web Service is not being reached because there's no SOAP response and my WS doesn't insert a database record (which is part of its work).


      I found in the documentation that:


      - wsdl refers to classpath:path/to/wsdl/file or http://path/to/wsdl/file

      - service refers to <wsdl_targetnamespace>:<service/@name>

      - endpoint refers to <service/port/@name>

      - interfaceName corresponds to <wsdl_targetnamespace>:<portType/@name>


      Is this correct?



      This is the code of my provider service unit:


      <beans xmlns="http://www.springframework.org/schema/beans"




             xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 servicemix-cxf-bc.xsd

             http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">





      And the WSDL of my web service:


      <wsdl:definitions name="ode_wf_ext"









      <wsdl:operation name="send_email">


                soapAction="http://efs.comfin.ge.com/ws/ode_wf/service/send_email" />


                     <soap:body use="literal" />



                     <soap:body use="literal" />




      <wsdl:service name="ode_wf_ext">

           <wsdl:port name="ode_wf_extSOAP" binding="tns:ode_wf_extSOAP">


                     location="http://dev.efs.comfin.ge.com:80/axis2/services/ode_wf_ext/" />





      I have been struggling with this SU for quite a time... and I still don't have a clue.


      Any help will be appreciated.