xmlsocket

Security Sandbox Violation: Lack of Policy File Permissions

混江龙づ霸主 提交于 2020-01-11 09:35:09
问题 I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to proxy requests to the web service, therefore the target url/port and the url/port serving the applet are the same -- i.e. http://192.168.100.101 . Also, the crossdomain.xml file is located in the root of the web app which serves the applet rather

XMLSocket working in firefox but not IE

淺唱寂寞╮ 提交于 2019-12-25 03:12:17
问题 I'm helping a customer who has a problem with a flash app. The flash app uses an XMLSocket to connect to a service running on localhost. It works fine under firefox. It uses the following line to setup the security policy: System.security.loadPolicyFile("xmlsocket://localhost:10032"); Running the flash app under firefox, the service listening on port 10032 gets a connection with a <policy-file-request/>, responds to it, and it works well. Under IE, the service never gets the connection and

Flex - XMLSocket truncates the final closing tag of the XML - why?

左心房为你撑大大i 提交于 2019-12-10 12:16:58
问题 I have a project which tries to send an XML using XMLSocket to a server listening to it on the other side. The application file is: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import MyConnection; [Bindable] public var conn:MyConnection = new MyConnection(33333); ]]> </mx:Script> <mx:VBox> <mx:Button label="Click me" buttonDown="conn.sendXml()" /> </mx:VBox> </mx:Application> And MyConnection.as is:

Security Sandbox Violation: Lack of Policy File Permissions

非 Y 不嫁゛ 提交于 2019-12-01 20:26:22
I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to proxy requests to the web service, therefore the target url/port and the url/port serving the applet are the same -- i.e. http://192.168.100.101 . Also, the crossdomain.xml file is located in the root of the web app which serves the applet rather the web service ; however, since the requests are proxied the url for the file is http://192.168.100.101

Flash client XMLSocket not connecting to server

拟墨画扇 提交于 2019-11-28 14:13:37
I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the server seems to get a new connection. But, the XMLSocket.onConnect callback is not called with success=true. Any ideas on what may be wrong? Here's the ActionScript for creating the socket. function myOnConnect(success) { if (success) { trace ("Connection succeeded!") inputText.text = "open"; // socket.send("1\n"); gotoAndPlay(2); } else { trace (

Flash client XMLSocket not connecting to server

前提是你 提交于 2019-11-27 08:18:31
问题 I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the server seems to get a new connection. But, the XMLSocket.onConnect callback is not called with success=true. Any ideas on what may be wrong? Here's the ActionScript for creating the socket. function myOnConnect(success) { if (success) { trace (