DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16842>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16842 WSDL2Java generates unusable classes for Arrays ------- Additional Comments From [EMAIL PROTECTED] 2003-02-06 16:29 ------- I've checked SymboleTable.java, and complexContent and restriction are present, so they should be supported. I've hacked the code and made some additional tests to see the difference with a case that works (ie without complexContent & restriction). I don't really understand what's behind, but here it is: In the wrong case, createTypeFromRef is called twice, and the first time the condition of this test is false (the second time, it's true): SymbolTable.java:979 if (qName.getLocalPart().indexOf("[") > 0) { In the 'good' case, createTypeFromRef is called one time and the test is true. The getRestrictionOrExtensionNode(node) method is OK (I think) because the test line 724 is true in the 'wrong' case (when there's a restriction), and false in the 'good' case. Here is the first call of createTypeFromRef in the wrong case. I'm not sure that the second call is a normal thing. I'm sorry but I can't go deeper in the code, I don't understand what happens then. HTH...
