def METHOD_NAME (req):
    d = req[2]
    if req[1] not in globals().keys():
        sys.stderr.write('Unable to find module: ' + req[1])
        return None
    the_module = globals ()[req[1]]
    method_name = req[0] + '_Marshall'
    if not method_name in the_module.__dict__.keys():
        sys.stderr.write ('Unable to find method: ' + method_name)
        return None
    #add args that are missing from the mof.
    argspec=inspect.getargspec(the_module.__dict__[method_name])
    if type(argspec) == tuple :
        args=argspec[0]
    else :
        args=argspec.args
    for arg in args:
        if arg not in d.keys():
            d[arg]=None
    ret = the_module.__dict__[method_name](**d)
    sys.stdout.write (req[1]+'.'+method_name+'('+repr(d)+') returned '+repr(ret)+'\n')
    if len(ret) >1:
        return translate_protocol(ret[1])
    else:
        return ret