[jbossws-issues] [JBoss JIRA] Created: (JBWS-2784) MetaDataBuilder chokes on multiple imports

Heiko Braun (JIRA) jira-events at lists.jboss.org
Mon Oct 12 08:53:05 EDT 2009


MetaDataBuilder chokes on multiple imports
------------------------------------------

                 Key: JBWS-2784
                 URL: https://jira.jboss.org/jira/browse/JBWS-2784
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-native
    Affects Versions:  jbossws-native-3.1.2
            Reporter: Heiko Braun


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());
            }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list