added web service to accept rpc calls