[ http://issues.apache.org/jira/browse/AXIS-2503?page=comments#action_12416584 ]
Mark Hutchinson commented on AXIS-2503: --------------------------------------- When running WSDL2Java on the attached ws.wsdl file the code generated does not compile. A CanadianCustomer class is generated that extends a Customer class, but no Customer.java is generated. Running WSDL2Java with the -a option generates this the Customer class and there are no errors in java that is generated. > Axis generation forgets classes when presented with restricted types > -------------------------------------------------------------------- > > Key: AXIS-2503 > URL: http://issues.apache.org/jira/browse/AXIS-2503 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: 1.3 > Environment: Eclipse 3.2, WTP 1.5 RC3, Windows 2000 > Reporter: Nicolas Mailhot > Attachments: ws.wsdl > > When presented with a wsdl which imports a schema defining a complextype (Cow) > and derived restrictions (madCow, fatCow), if the wsdl operations (burnMadCow) > only use the restricted derivation (madCow), the axis client generator > "forgets" to create the simple unrestricted class (Cow) > You have to tick "generate code for not referenced classes" in eclipse > preferences to get working code (same as -a when running WSDL2Java) > This has been reported multiple times in eclipse bugzilla > https://bugs.eclipse.org/bugs/show_bug.cgi?id=147509 > https://bugs.eclipse.org/bugs/show_bug.cgi?id=146629 > The eclipse people say the problem is on the axis side -- 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]
