Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5437

Fabric HTTP GW does not recognize query params

XMLWordPrintable

    • ER2
    • % %
    • Hide

      Create a Fabric and create a container.
      Deploy the http gateway on the container.
      Also deploy a CXF-based web service so that an endpoint is exposed through the gateway.
      Try to display the service wsdl through the gateway, using an url such as "http://<gateway_host:9000>/cxf/myService?wsdl
      The error in the http logs is:
      Could not find matching proxy path for /myService?wsdl from paths: [/myService/, /servlets/io.fabric8.fabric-git-server/git/, ...]

      Show
      Create a Fabric and create a container. Deploy the http gateway on the container. Also deploy a CXF-based web service so that an endpoint is exposed through the gateway. Try to display the service wsdl through the gateway, using an url such as "http://<gateway_host:9000>/cxf/myService?wsdl The error in the http logs is: Could not find matching proxy path for /myService?wsdl from paths: [/myService/, /servlets/io.fabric8.fabric-git-server/git/, ...]

      We use the Fabric HTTP gateway to access CXF-based web services deployed into the Fabric.
      The presence of the gateway allows us to open one single port for all the services to the external world. However it's not possible to retrieve the wsdl file of the services in such a topology.
      Indeed the HTTP GW doesn't recognize query params and therefore looks for a resource named "myapp?wsdl" in zookeeper, which it cannot find, instead of looking for a resource named "myapp" and passing along the ?wsdl param.

            hchirino Hiram Chirino
            rhn-gps-mthirion Michael Thirion
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: