wsdl refactoring into 2 separate files

this removes nested classes inside functions to
enable the removal of the type register
merge support for WSDL 1.2
Detect soap version on wsdl generation

During the wsdl generation, the soap version is detected from the
xml.
type register removal

cyclic definition will be solved by passing the full import path of the
type