Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6 Beta
-
None
Description
The code related to this issue is simply new infrastructure that includes:
--ability to determine if an object of class Type is an anonymous type via method isAnonymous()
--ability to indicate whether object of class Type should be generated or not via method externalize()
Due to the enhancements above, various parts of the code was changed to use the new methods instead of using code such as atype.getLanguageSpecificName().startsWith(">").
The new infrastructure is needed so that eventually the languageSpecific name can be made nicer for anonymous types (e.g. for an anonymous type of >>Item>sometype, we currently generate __Item_sometype class. It would be nice to generate a simpler name - such as sometype.
In addition, the support was added in preparation to correct the problem where not all required types are being generated, as well as simplifying how we externalize a Type object.
I also removed unneeded code and added more trace statements in the wsdl2ws tool to help in debugging what is being generated during wsdl file processing.