Hi Joe,
ApplinX has a default “host quiet” timeout of one minute.
On that specific screen you need ApplinX to wait longer, this is what you should do:
In your gx_processHostKeyRequest method (it’s In GXBasicContext.java, unless you overriden it in the generated page) , add the following code:
if (getGXSession().getScreen().getName().equals(“screenName”)){ //screenName = the_screen_that_runs_the_long_proccess
if (sendKeyRequest.getKeys().equals(“[theKey]”)){ // theKey = the_Key_that_runs_the_long_proccess
long timeout = 120000; // Max amount of time to wait for host response in miliSeconds
GXGetScreenRequest gsr = new GXGetScreenRequest();
gsr.addWaitCondition(new GXWaitHostQuiet(timeout,0));
getGXSession().sendKeys(sendKeyRequest);
getGXSession().getScreen(gsr);
}
}
else{
super.gx_processHostKeyRequest(sendKeyRequest);
}
Hope this helps,
Ohad M.
#webMethods#Mainframe-Integration#ApplinX