Server side access data for smartGWT rpc
===

On the server side I want to know how to access data used in an RPCRequest from SmartGwt.

Here is the SmartGwt client code:

      private void update() {
            RPCRequest request = new RPCRequest();
            request.setData("RPC text from client");
            request.setActionURL("/Empi-MT/resources/empi/update");
            request.setContentType("text/xml");

            RPCManager.sendRequest(request,
                new RPCCallback() {

                    public void execute(RPCResponse response, Object obj, RPCRequest request) {
                        SC.say("Response from the server:" + obj);
                    }
                });
        }

Here is the RESTful java server code .

        @POST
        @Consumes("text/xml")
        @Produces("text/xml")
        @Path("/update")
        public String update() {
            return "We got to here";
        }

This trivial code works fine, but now I need to know how to access the data that was put into the RPCRequest.   How do I do that in the server code?

Thanks,
