solve the problem, the interface replaces the RequestBuilder by void,
removed the .send() and in the method doSetCallback of the class
MyRpcRequestBuilder added the following line:
rb.setCallback (callback);
And in the method doFinish:
rb.setHeader (STRONG_NAME_HEADER, GWT.getPermutationStrongName
I forgot to tell you that I'm doing this too
((ServiceDefTarget)service).setRpcRequestBuilder(theBuilder);
after
RpcRequestBuilder theBuilder = new MyRpcRequestBuilder();
but the error continues
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" gr
Thank you Thomas, but I can not, please see where this error:
I created a class MyRpcRequestBuilder:
public class MyRpcRequestBuilder extends RpcRequestBuilder {
public MyRpcRequestBuilder() {
// Do something here
}
public void doSetCallback(Request
On 5 juil, 20:57, Bruno Santos wrote:
> Is there any way to run a given command at the beginning and end of
> any RPC request?
You can provide an RpcRequestBuilder and either:
- return your own RequestBuilder from doCreate(), which would
override send() and setCallback()
- do the "beginning c