]
Heiko Braun commented on JBWS-2784:
-----------------------------------
Tnx, for looking into this so quickly. I've attached the wsdl files that cause that
error.
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
Assignee: Alessio Soldano
Attachments: JBWS-2784.zip
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: