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

WSDL publisher incorrectly attempt to publish external HTTPS import

XMLWordPrintable

      In org.jboss.ws.common.utils.AbstractWSDLFilePublisher, the condition used to detect external import looks like this:
      // its an external import, don't publish locally
      if (locationURI.startsWith("http://") == false)

      { ... }

      This does not take in account import done over other protocols such as HTTPS. Deploying such WSDL will fail since jboss will try to resolve an absolute URL against the current deployment unit.

      Simply adapting the test to include "https://" seems effective (not sure if it truly satisfies all use cases however).

      This was only tested in version 2.2.3 Final of jboss-ws-common but those lines are still in trunk...

              rsearls r searls
              mhz4248 Marc H. (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: