View Full Version : mvcall timeout
wmgilligan
04-17-06, 10:10 PM
Anyone have an example or info regarding the use of the "timeout" function in MvCall?
What does it return if it timeout?
How to do an error message, etc.
What to set the timeout to... is it seconds or .... ?
Bill
wmgilligan
04-18-06, 07:08 PM
The big problem with forums....
Waiting for someone to answer..... hello Miva tech support?
wmgilligan
04-18-06, 08:48 PM
File this for future.....
<MIVA MvCALL_ERROR = "nonfatal, nodisplay">
<MvCALL timeout="1" ACTION = "{ l.url $ crlf $ 'SOAPAction: http://thesitename.com' $ crlf $ 'Accept: ' }" METHOD = "XML" FIELDS = "golnavision">
<MvIF EXPR="{ callobjecttype EQ 'tag' AND callobjectelement EQ 'Item' }">
<MvAssign name="l.out" value="{ callvalue }">
<MvAssign name="l.check" value="2">
</MvIf>
<MvIf expr="{ callobjectelement EQ '/response' }">
<MvCallstop>
</MvIF>
</MvCall>
<MvIF EXPR = "{ MvCALL_Error }">
<MvAssign name="mivacallerror" value="1">
</MvIF>
Then test for the error - and display or not whatever comes next.
Bill
Julie Wilber
04-18-06, 09:27 PM
Hi Bill,
I asked Mark to look at this thread. He might not get to it today, but he will look at it.
Thanks!
Mark Hughes
04-18-06, 11:04 PM
Bill,
Is the script you posted not working? not working as expected?
Mark
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.