def processAnswer(self,args):
        exp_uid = args["exp_uid"]
        app_id = resource_manager.get_app_id(exp_uid)
        
        try:
            target_winner = args['args']['target_winner']
        except:
            return {'message':"Failed to specify all arguments or misformed arguments", 'code':400, 'status':'FAIL', 'base_error':'[target_winner]. Missing required parameter in the JSON body or the post body or the query string'}, 400
        
        index_winner = int(targetmapper.get_index_given_targetID(exp_uid, target_winner))
        
        # Set the index winner.
        args['args']['index_winner'] = index_winner
        print args
        # Args from dict to json type
        args_json = json.dumps(args["args"]) 
        # Execute processAnswer 
        response_json,didSucceed,message = broker.applyAsync(app_id,exp_uid,"processAnswer",args_json)
        print response_json, didSucceed, message
        return { 'html':"success"}
Generates a processAnswer widget. Uses the args format as specified in::
dataset/ETHPy150Open nextml/NEXT/next/apps/PoolBasedTripletMDS/widgets/widget_generator.py/WidgetGenerator.processAnswer