I'm not well-versed on webservice. Did you specify a wsdl? Maybe it is getting loaded before you hit send. When do you try to get the policy file?
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Saturday, September 22, 2007 12:34 PM To: [email protected] Subject: [flexcoders] Re: Setting the crossdomain.xml file for WebService in a diffferent path than root I am getting the Security error before calling the send method . Using an HTTP Proxy(Fiddler)I have noticed that whatever file is set to the loadPolicyFile method a SECOND request after is executed to load the policy file from the web root domain !! So Fiddler reports 2 HTTP requests to the security policy file when my component is loaded. One to the policy file identifies by the method flash.system.Security.loadPolicyFile A second to the security file defined in the same root domain which does not exist in my case. Let me know what is wrong ? Thx-CLaude --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > a.b.com is not the same domain as d.b.com. > > > > You should be able to use a file from a different folder in a.b.com. > Did you get it before calling send on the webservice? > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Claude Hussenet > Sent: Saturday, September 22, 2007 7:34 AM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Setting the crossdomain.xml file for WebService in > a diffferent path than root > > > > > I would like to be able to deploy the crossdomain file > in the same domain name as the webservice but NOT in the root > domain. > > Possible solution would be able to set the path of the crossdomain file > before the initialization of the webservice on the client side. > > I tried the following method without any success : > flash.system.Security.loadPolicyFile ("http://samedomainasmyws:sameportas <http://samedomainasmyws:sameportas> > myws/onefolder/onsubfolder/crossdomain.xml > <http://samedomainasmyws:sameportasmyws/onefolder/onsubfolder/crossdo <http://samedomainasmyws:sameportasmyws/onefolder/onsubfolder/crossdo> mai > n.xml> "); > > > Do I miss something ? > > Thx for your help. > > Claude Hussenet >

