Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2699

BackwardCompatibleURLPatternDeploymentAspect is mangling URLs

XMLWordPrintable

      Kevin says:

      > StringTokenizer st = new StringTokenizer(urlPattern, "/");
      > if (st.countTokens() > 1 && urlPattern.startsWith(contextRoot + "/"))
      >

      { > urlPattern = urlPattern.substring(contextRoot.length()); > }

      Yes, this is the part which does the damage.

      The contextRoot, in the case I am investigating, is the same as the first part of the urlPattern. This means that the generated WSDL contains the wrong endpoint location, as does the JBossWS console, yet the webservice is still deployed at the right location.

      So the webservice is actually deployed at /a/a/b but WSDL and WS console report it at /a/b.

              ropalka Richard Opalka
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: