I have a complex class generated from a WSDL file. This class contains several other classes which in turn contain also other classes. There are more than 5 levels overall.
In order to initialize an instance I need to create several objects; the initialization code for creating an object of this class is around 100 lines.
Is there a good pattern to use for cases such as this? I created a wrapper around each class, and a wrapper around those wrappers. Is this is how it is done?