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

MetadataBuilder chokes on multiple imports: "Cannot find port with name ..."

XMLWordPrintable

      See MetaDataBuilder#replaceWSDL11PortAddress(...) and dependend issue.

      This piece of code, always sets a successfully matched port ('wsdlOneOnePort') to null when a subsequent import is parsed.
      It's basically missing the break statement:

      Iterator importsByNS = l.iterator();
      while (importsByNS.hasNext())

      { Import anImport = (Import)importsByNS.next(); wsdlOneOnePort = modifyPortAddress(anImport.getNamespaceURI(), portQName, serviceEndpointURL, anImport.getDefinition().getServices()); }

              rhn-support-asoldano Alessio Soldano
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: