A fix for constructing complex types in the wsdl parser.