This content has been marked as final. Show 8 replies
this could be quite a few things....malformed data, bad data causing the wsdl service to now show... can you hit the url in a browser and see this data?...is it all formed correctly?
i got the same error.strange thing is i have the project under workspace in it bin directory in which html file is there that is running with out any error.but when i copy this project in some other location say desktop and run the same html file in bin directory but iam getting the same error as above .i searched but i got only this link which was not answered .i request all to look at it and tell me how to solve this problem.
how did you start your html page (within the flexbuilder or from filesystem).
However it seems that you violate the flash player sandbox in the way how you start the swf.
Your swf seems to be compiled with "local-with-filesystem" option (default.), which didn´t allow to access to the network.
There is a compiler option use network (local-with-networking), which may help you out (than your swf file can not access locale files).
Ah I forget to ask you didn´t use AIR or ?
Yes, that looks like a sandbox issue. Unless you are running under Flex Builder, you can't run an app from the filesystem and access network data.
Move your app to a webserver then try it again. Note, you will need a crossdomain.xml file on the server providing the data if its domain is different than the domain the served the app(swf)
yes kcell and ntsiii,when i run from flexbuilder it is running properly.when i run from filesystem iam getting the above error.i have used compiler option -use-network=false in the Additional compiler arguements from project-->properties-->flexcompiler.
what should i do to access it from filesystem also.
yes it is Sandbox issue only.
in my project i have a file to be loaded from file system. first when i try to run this from outside of flex builder it failed to load because it was local-network sandbox.so ,i used compiler option -use-network=false in the Additional compiler arguements from project-->properties-->flexcompiler.which sets the sandbox to local-filesystem and hence failed to access internet.if i can set this sandbox to
Local-trusted my problem will be solved .how to do this.
Would it possible to paste the relevant MXML/ActionScript code here?
Fiddling with the sandbox settings is rarely a solution, unless you are going to physically install your app on every user's machine, into a trusted sandbox.
If that is even conceivable as an option, use AIR. You get both desktop security functionality AND network installs/updates.
For a browser deliverad app, you need to use crossdomain file, or proxy the data service calls.