Service invocation API for client side