7 Replies Latest reply on Oct 19, 2011 8:54 PM by Freeman(Yue) Fang

    CXF endpoint problems on remote installation

    mark kimsal Newbie

      I have built a small demo with CXF and camel.  When I run it locally the CXF browser at http://localhost:8181/cxf properly shows the endpoint as:

      -


      Endpoint address: http://127.0.0.1:8181/cxf/PersonService

      WSDL : PersonService

      Target namespace: http://testwsosgi.examples.foo.com/

       

      But, when I transfer the jar to the remote server, the CXF browser displays the info as:

      -


      Endpoint address: http://10.40.40.40:8181/cxfhttp://localhost:8181/cxf/PersonService

      WSDL : PersonService

      Target namespace: http://testwsosgi.examples.foo.com/

       

       

      The WSDL link leads to the incorrect place and I get an HTML page error instead of a WSDL file.  What could possibly cause this?  Do I have to build all deployable code on the destination server?

       

      Update: using "links" to browse the cxf info page on the remote server with "http://localhost:8181/" gives the properly formatted URL.  So, it's only accessing the cxf page from another host.

       

      Edited by: markk on Oct 17, 2011 11:25 PM