I have embedded a GWT RPC call within onModuleLoad method and this RPC call does not seem to be executing the onSuccess method. Within the RPC implementation at the server side it works well with debug print statements.
Code snippet below,
public void onModuleLoad() {
System.out.println("ON MODULE LOAD");
mobiTeamService.login(GWT.getHostPageBaseURL(), new AsyncCallback<LoginInfo> () {
public void onFailure(Throwable error) { System.out.println("FAILURE"); ClientSideUtils.logError(mobiTeamService, CLS,error) ;}
public void onSuccess(LoginInfo result) {
System.out.println("ON SUCCESS: " + result) ;
loginInfo = result ;
}
}) ;
}