3 Replies Latest reply on Dec 15, 2011 8:02 PM by Freeman(Yue) Fang

    deploy cxf webservice info fuse ESB

    Piotr Grzywacz Newbie

      i'm starting with creating CXF webservice for Fuse ESB and i have small problem with deploying it on ESB.

       

      I've created webservice from maven archetype - "cxf-jaxws-javafirst"

       

      Everythign goes well and i have "mvn install" the project.

       

      In beans.xml i have:

       

      <jaxws:endpoint

        id="helloWorld"

        implementor="com.helloworld.app.HelloWorldImpl"

        address="/HelloWorld" />

      mvn created me file - cxfjaxws-1.0.0.war

       

      I've copied this file to my esb deploy folder.

       

      Next i've checked in esb log, where i found informations, that everything goes well.

       

      On my component webpage i found informations:

       

      Web-ContextPath: /cxfjaxws

      But when i'm trying to open url

       

      http://localhost:8181/cxf/cxfjaxws/HelloWorld?wsdl

      OR

       

      http://localhost:8181/cxf/cxfjaxws

      only thig that i see is:

       

      No service was found.

      But on the other hand when i copied the same file to normal tomcat i can open site:

       

      http://localhost:8080/cxfjaxws-1.0.0/HelloWorld?wsdl

      where i see correct XML output.

       

      What is wrong?

       

      Thanks for help.