Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-126

Allow to use the servlet transport with automatic discovery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.4.0
    • common
    • None
    • Unknown

    Description

      Currently you can use org.apache.cxf.ws.address = /MyService already.
      This specifies that you want to use the servlet transport.
      The complete uri would then be : http://servername:port/cxf/MyService
      Where "cxf" is symbolic for where the servlet transport registers itself.

      The problem is that we send the /MyService address to zookeeper which results in a strange entry with -1 as port. Of course this address is then quite useless for other containers.

      So I think what we could do is define a variable in the config admin pid cxf-dsw:
      servletPrefix: http://myserver:8080/cxf

      This could then be prepended to any servlet address we find. So zookeeper will be happy.

      Attachments

        Issue Links

          Activity

            People

              cschneider Christian Schneider
              cschneider Christian Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: