> I guess the underlying issue is that syncProxy uses
> interfaceWhateverService extends XsrfProtectedService and does not use
>  WhateverServiceAsyn that gets created by GWT.create().


I also tried using SyncProxy to use WhateverServiceAsync but can't set
the Xsrf token in the normal manner -- ((HasRpcToken)
rpcService).setRpcToken(token); -- because it throws a classcast
exception.

Apperantly creating the WhateverServiceAsync by GWT.create() enables
that cast to succeed.

Trying to write the xsrf token to the body fails as described
previously (even when using the async class) before the call to fetch
the token.

Hmmn...

Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to