Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.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
flash无法访问Web服务_Flash_Apache Flex_Iis_Crossdomain.xml - Fatal编程技术网

flash无法访问Web服务

flash无法访问Web服务,flash,apache-flex,iis,crossdomain.xml,Flash,Apache Flex,Iis,Crossdomain.xml,我正在使用flex/actionscript。我已经创建了一个具有以下路径的Web服务?当我运行上面的url时,它工作正常。但当我使用httpservice和send方法使用它时,它给了我错误。事件:注册表失败 错误描述:HTTP更新错误 mHttpService = new HTTPService(); mHttpService.url = mWebServiceUrl; mHttpService.method = "POST"; mHttpService.addEventListener("

我正在使用flex/actionscript。我已经创建了一个具有以下路径的Web服务?当我运行上面的url时,它工作正常。但当我使用httpservice和send方法使用它时,它给了我错误。事件:注册表失败 错误描述:HTTP更新错误

mHttpService = new HTTPService();
mHttpService.url = mWebServiceUrl;
mHttpService.method = "POST";
mHttpService.addEventListener("result", httpResult);
mHttpService.addEventListener("fault", httpFault);


var request:Object = new Object();
request.username = user;
request.identity = id;
mHttpService.cancel();
mHttpService.send(request);

据我所知,Web服务应该是格式化的。 这很管用,试试看

此web服务的链接是page is

所以,我想。web服务链接有问题。
希望,这会有所帮助。

我正在与开源adobe cirrus合作。。如果你能看完它,它将对我有帮助。很抱歉,我用错了webservice这个词。httprequest将在此url上发布帖子并获取响应。如果在服务器192.168.0.209上运行该页面,则该页面工作正常。。但是当我在本地机器上运行时会出现错误。。我在本地和209上主持了cgi。。当我在本地运行我的应用程序时,它将访问本地cgi。。如果我在209上运行它,它将访问209 cgi服务。。问题出在当地的一家。。它不会返回响应。