def xmlrpc_type(arg):

    arg_type = python_type(arg)

    if arg_type == NoneType:
        return "nil"
    elif arg_type == IntType or arg_type == LongType:
        return "int"
    elif arg_type == bool:
        return "boolean"
    elif arg_type == FloatType:
        return "double"
    elif arg_type in StringTypes:
        return "string"
    elif arg_type == ListType or arg_type == TupleType:
        return "array"
    elif arg_type == DictType:
        return "struct"
    elif arg_type == Mixed:
        # Not really an XML-RPC type but return "mixed" for
        # documentation purposes.
        return "mixed"
    else:
        raise SfaAPIError, "XML-RPC cannot marshal %s objects" % arg_type
Returns the XML-RPC type of the specified argument, which may be a
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/util/parameter.py/xmlrpc_type