Using the latest nigthly build, I am unable to use WSDL2Java on local WSDL files with local relative imported WSDL files. Looking into SymbolTable.getURL(), it looks like the third attempt if (contextURL != null) { String contextFileName = contextURL.getFile(); String parentName = new File(contextFileName).getParent(); } was never quite completed. The supplied patch will take the parent name and build a new url from it: url = new URL("file:" + parentName + File.separator + spec); which will create a file where the spec is relative to the parent on the file system. This works for my case of local WSDL files with local relative imports and shouldn't affect the existing code any. The patch was made against the 4/3 nightly build.
Thanks, Jason Blumenkrantz [EMAIL PROTECTED] <<SymbolTable.java.diff>>
SymbolTable.java.diff
Description: Binary data