[ http://issues.apache.org/jira/browse/MUSE-82?page=comments#action_12431649 ] Steve Jerman commented on MUSE-82: ----------------------------------
I would assume that that check handles no location. What I had was a *wrong* location. > wsdl2java Error information poor > -------------------------------- > > Key: MUSE-82 > URL: http://issues.apache.org/jira/browse/MUSE-82 > Project: Muse > Issue Type: Improvement > Components: Tooling - Code Generation > Affects Versions: 2.0.0 > Reporter: Steve Jerman > Assigned To: Andrew Eberbach > > If a schema 'include' is defined but does not exist, you get the following > error: > [ID = 'CodeGenFailed'] Code generation failed, see the exception information > below. > Caught an exception: [ID = 'FailedLoadingWSDL'] Got exception loading WSDL: > String index out of range: -1.. > java.lang.RuntimeException: [ID = 'FailedLoadingWSDL'] Got exception loading > WSDL: String index out of range: -1. > at > org.apache.muse.tools.generator.util.AbstractCommandLineApp.getWSDLDocument(AbstractCommandLineApp.java:91) > at org.apache.muse.tools.generator.Wsdl2Java.<init>(Wsdl2Java.java:94) > at org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:192) > Not helpful... > Suggest adding 'try/catch' around wsdlUtils.java line 206 and throw a more > instructive error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
