[ http://issues.apache.org/jira/browse/AXIS2-1368?page=comments#action_12445787 ] Evanthika Amarasiri commented on AXIS2-1368: --------------------------------------------
A proper error message saying that the package name is invalid is given as below "Invalid package name. Please enter a valid package name." > Inproper error message given when the package name is invalid > ------------------------------------------------------------- > > Key: AXIS2-1368 > URL: http://issues.apache.org/jira/browse/AXIS2-1368 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: ide plugins > Affects Versions: 1.1 > Environment: Windows XP, jdk1.5.0_08, Maven 1.0.2, Mozilla Firefox > 1.5.0.6 > Reporter: Evanthika Amarasiri > Fix For: 1.1 > > Attachments: Error 35.JPG > > > When generating code through the Code Generating Wizard, if an invalid > package name is specified, the given error message does not give a clear idea > of what the error actually is > Below are the steps followed > 1. Launch Eclipse and select File -> New -> Other. > 2. From the "New" window, select "Axis2 Code Generator" which is under "Axis2 > Wizards" and click on the "Next" button > 3. Select the radio button option "Generate Java source code from a WSDL > file" and click "Next" > 4. Select a valid WSDL file and click on "Next" > 5. Select the "custom" as the codegen option and specify an invalid package > name > E.g.:- org.apache.axis2.userguide.axis2sampledoclit. (With a fullstop at the > end of the package name) and click on "Next" > 6. Specify the output path and click on the button "Finish" > 7. It displays the error message as "An error occured while code > generatingjava.lang.InterruptedException" > This message does not give the user where the error has occured. Therefore a > much more clear message should be given. -- 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]
