120 second timeout between 2 Jade Web Apps

Forums for specific tips, techniques and example code
concord
Posts: 47
Joined: Wed Mar 23, 2011 2:07 pm

120 second timeout between 2 Jade Web Apps

Postby concord » Mon Apr 10, 2017 4:14 pm

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?

concord
Posts: 47
Joined: Wed Mar 23, 2011 2:07 pm

Re: 120 second timeout between 2 Jade Web Apps

Postby concord » Tue Apr 11, 2017 9:35 am

Oops,

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


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 2 guests

cron