It looks like I forgot to put in the code that sets the timeout, when I updated the<br>code last time.<br><br>There is an object called LzRPCDataRequest, which is a subclass of LzHTTPDataRequest. It is defined in the file lps/components/rpc/library/rpc.js<br>
<br>The LzRPCDataRequest can take a timeout property. However, nothing is setting it right now. <br><br>In the xmlrpc.js file (that defines the XMLRPC service), the code does set the timeout as<br><br>&nbsp;&nbsp;&nbsp; requestObj.timeout = canvas.dataloadtimeout;<br>
<br>So that service will default to that canvas value.<br><br>However, the JavaRPC and SOAP request() methods are not setting the timeout. <br><br><br>We should define an API method on LzRPC that sets the timeout that is<br>
used in the request() method. I would propose having a default timeout<br>value as an instance var in LzRPC, and a method to modify it<br><br><br>class LzRPC {<br><br>var defaulttimeout = 30000; <br><br>function setTimeout(msec) { this.defaulttimeout = msec; }<br>
...<br>...<br>}<br><br>Then in the request() method, that value would be copied to the datarequest<br><br>&nbsp;&nbsp;&nbsp; function request ( dreq:LzRPCDataRequest, delegate, secure, secureport ) {<br>...<br>... <br>dreq.timeout = this.defaulttimeout<br>
<br>&nbsp;&nbsp; <br>Can you try this and see if it works? <br><br>If you get something working, or even if you don&#39;t file a bug&nbsp; for this, I will try to take a look at it as soon as I finish a couple of high priority bugs that I am working on for our next release. <br>
<br><div class="gmail_quote">On Tue, Jun 9, 2009 at 4:13 AM, ono keiji <span dir="ltr">&lt;<a href="mailto:keiji_ono@net8.co.jp">keiji_ono@net8.co.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are not you have any info?<br>
It seems like a application timeout could controlled by http.backendTimeout/http.backendConnectionTimeout<br>
&nbsp;which are in lps.properties. But what are their mean ? What is difference between backendTmeout and<br>
backendConnectionTimeout ?<div class="im"><br>
<br>
<br>
<br>
ono keiji $B$5$s$O=q$-$^$7$?(B:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
------------------------------------------------------------------------<br>
<br>
Subject:<br>
[Laszlo-dev] how to set soap timeout<br>
From:<br>
ono keiji &lt;<a href="mailto:keiji_ono@net8.co.jp" target="_blank">keiji_ono@net8.co.jp</a>&gt;<br>
Date:<br>
Thu, 21 May 2009 20:47:58 +0900<br>
To:<br>
<a href="mailto:laszlo-dev@openlaszlo.org" target="_blank">laszlo-dev@openlaszlo.org</a><br>
<br>
To:<br>
<a href="mailto:laszlo-dev@openlaszlo.org" target="_blank">laszlo-dev@openlaszlo.org</a><br>
<br>
<br>
Hi,<br>
<br>
Could someone tell me how to set a timeout parameter when using rpc/soap<br>
on v.4.3 ?<br>
on v.3.*, i could control it at getNewLoader() in rpc.js, but i saw<br>
it had gone away somewhere now.<br>
<br>
Ono Keiji<br>
<a href="mailto:ono@net8.co.jp" target="_blank">ono@net8.co.jp</a><br>
<br>
<br>
</blockquote>
<br>
<br></div>
-- <br>
------------------------------------------<br>
$B!J3t!K%M%C%H%(%$%H(B<br>
$B>.Ln7=Fs(B<div class="im"><br>
<a href="mailto:keiji_ono@net8.co.jp" target="_blank">keiji_ono@net8.co.jp</a><br></div>
$BEl5~ET9>8M@n6h?p9>(B1-45-11<br>
TEL 03(3676)6599<br>
URL <a href="http://www.net8.co.jp" target="_blank">http://www.net8.co.jp</a><br>
------------------------------------------<br>
</blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>