trace restfull invoke method