Type register

Use dict for the type register and fix the wsdl generation