Page 1 of 1

120 second timeout between 2 Jade Web Apps

Posted: Mon Apr 10, 2017 4:14 pm
by concord
I have a Jade system consuming a web service hosted by another Jade system, I'm trying to locate the config setting that's imposing a 120 second timeout.

My consumer ends up with the following exception:

The service returned a fault message
HTTP Error 12002 HTTP Send Request Failed

The WebService Provider end appears to have no issue running over 120 seconds, it looks to be completing and returning a reply say at the 130 second mark.

Made me think it's a simple 120 timeout on the Consumer end.

I've had a go at creating a WebConsumer config xml file and adding that into jade.ini, Consumer side...

[WebOptions]
ConsumerConfigFile = C:\WWDev2\bin\webservice.xml

To see if this was going to have any effect I tried cutting the timeout back to 15 seconds:

<?xml version="1.0"?>
<jade_config>
<web_services_consumer schema="CSFormSchema" name="global" id="">
<web_config>
<consumer>
<endpoint></endpoint>
<maximum_connections></maximum_connections>
<connection_timeout>15</connection_timeout>
<send_timeout>15</send_timeout>
<receive_timeout>15</receive_timeout>
</consumer>
</web_config>
</web_services_consumer>
</jade_config>

Made no difference, still failed after 120 seconds.

Any ideas?

Re: 120 second timeout between 2 Jade Web Apps

Posted: Tue Apr 11, 2017 9:35 am
by concord
Oops,

setTimeouts(connectTimeout: Integer;
sendTimeout: Integer;
receiveTimeout: Integer);