In GWT, requests are sent to XXXX.rpc which maps to a “GWT Controller” (RemoteService). The method name that will be invoked is buried in the post of this request.
Is there a way to send the method name as an additional HTTP header or as part of the URL? This way we can log the method name in our access logs.
I know there is a RpcRequestBuilder class, but I dont know how I would extend it to add the method name to the header or URL.
I think this link could help you.. http://stuffthathappens.com/blog/2009/12/22/custom-http-headers-with-gwt-rpc/
EDIT :
you should set methodName before invoking remote service method..