[prev in list] [next in list] [prev in thread] [next in thread] 

List:       muse-dev
Subject:    [jira] Created: (MUSE-82) wsdl2java Error information poor
From:       "Steve Jerman (JIRA)" <jira () apache ! org>
Date:       2006-08-30 17:26:22
Message-ID: 11043861.1156958782283.JavaMail.jira () brutus
[Download RAW message or body]

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: Dan Jemiolo


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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic