If wsimport is passed a jar: URL referring to a WSDL and one or more imports
packaged in a jar, the tool is able to access the primary WSDL, but incorrectly
generates the absolute references to the imported files.
The problem seems to be in
// absolutize URL.
String ref = new URI(locator.getSystemId()).resolve(new
The system-id URI is correct, but the resolve() method returns just the relative
This code is a copy of matching code in xjc here:
Both would need to be corrected to resolve this issue.