create client/service roc object.
fix rpc testcase.