Why ADB by default (Expanded Mode) chooses to create a class for each complexType and top level elements I have yet to comprehend - WSDL2Java under Axis2 will lead to a class explosion of twice as many classes as it would under Axis! Somehow
All top level elements become classes. This is a rather questioning feature since unless classes are generated for the top level elements the handling of elements become difficult and messy!
just doesn't explain it. It seems that the element bean classes use their own QName while the complexType bean classes use the specified QName - however that means that often an element from an XML document is represented by an element bean which for the most part simply delegates to the complexType bean that it contains. Maybe the Helper Mode will eventually sort this out.