Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web services 调用Web服务时超时_Web Services_Actionscript 3_Flash_Builder - Fatal编程技术网

Web services 调用Web服务时超时

Web services 调用Web服务时超时,web-services,actionscript-3,flash,builder,Web Services,Actionscript 3,Flash,Builder,我在使用Flex Builder中开发的移动应用程序的Web服务时遇到问题 我有以下Web服务代码 <s:CallResponder id="readAllPedidosErpResult" result="readAllPedidosErpResult_resultHandler(event)" fault="sincFailResult_faultHandler(event)"/> protected function readAllPedidosErp():void

我在使用Flex Builder中开发的移动应用程序的Web服务时遇到问题

我有以下Web服务代码

<s:CallResponder id="readAllPedidosErpResult"    result="readAllPedidosErpResult_resultHandler(event)"  fault="sincFailResult_faultHandler(event)"/>

protected function readAllPedidosErp():void
{
    readAllPedidosErpResult.token = xEasyERPMobileAppWS.readAllPedidosErp
    (readFechaSincronizacionPedidoErp(),sC.readComercialUsuario());
}

protected function readAllPedidosErpResult_resultHandler(event:ResultEvent):void
{
    var result:ArrayCollection;
    var c:PedidoWSMobile;

    if(event.token.result is ArrayCollection)
    {
        result = event.token.result as ArrayCollection;
        if(result!=null)
        {                                               
            //DO SOMETHING
        }
    }
    continueToNext(15);
}

受保护的函数readAllPedidosErp():void
{
ReadAllPedidDoserpResult.token=xEasyERPMobileAppWS.ReadAllPedidDoserp
(readFechaSincronizacionPedidoErp(),sC.readcomercialusario());
}
受保护函数readAllPedidosErpResult\u resultHandler(事件:ResultEvent):void
{
var结果:ArrayCollection;
var c:Peddowsmobile;
if(event.token.result为ArrayCollection)
{
结果=event.token.result作为ArrayCollection;
如果(结果!=null)
{                                               
//做点什么
}
}
继续下一步(15);
}
我遇到的问题是xEasyERPMobileAppWS.readAllPedidosErp(readFechaSincronizacionPedidoErp(),sC.readcomercialusario());获得答案几乎需要2分钟,但30秒后(多多少少)没有等待更多时间,我出现了一个错误(sincFailResult\u faultHandler(event))

我怎样才能给呼叫响应者更多的时间等待我正在呼叫的Web服务的应答


提前谢谢。

我刚刚在另一个线程中找到了解决方案

供参考:

无论如何谢谢你

我得到的错误是“soap响应无法解码。原始响应”