Yes, the crossdomain restriction only applies to data service calls make directly from the Flash Player. Server processes, like Blaze, or LCDS or .net, or whatever do not have that restriction.
You can avoid the crossdomain restriction by proxying the data service calls through the server, in many ways. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Vivian Richard Sent: Tuesday, April 22, 2008 1:12 AM To: [email protected] Subject: Re: [flexcoders] crossdomain where is the server root? By the way did you guys try Christophe Coenrates' BlazeDS 30 mins test drive examples? His tutorial includes a tomcat server with BlazeDS installed. I did not find the crossdomain.xml file in it!!! and it works!!!! :)))???? Here is the link if you want to take a look at it... http://coenraets.org/blog/2007/12/blazeds-open-sourcing-remoting-and-mes saging/ <http://coenraets.org/blog/2007/12/blazeds-open-sourcing-remoting-and-me ssaging/> On Mon, Apr 21, 2008 at 9:33 AM, Tracy Spratt <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Also, at least for testing, I think you should specify to-ports="*" Tracy ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Sent: Monday, April 21, 2008 12:15 PM To: [email protected] <mailto:[email protected]> Subject: Re: [flexcoders] crossdomain where is the server root? Yes, stick it under ROOT. cheers, David x54680 "Vivian Richard" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Sent by: [email protected] <mailto:[email protected]> 04/20/2008 06:54 PM Please respond to [email protected] <mailto:[email protected]> To [email protected] <mailto:[email protected]> cc Subject Re: [flexcoders] crossdomain where is the server root? Thanks for the emails. When I run tomcat and go to http://localhost:8080/ <http://localhost:8080/> it will take me to the ROOT directory and there is an index.html file which is show on the browser. So does that mean my root is ROOT directory? By the way since I did not update the flash player, I did use the older version of crossdomain.xml file. This one: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd <http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd> "> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy> On Sun, Apr 20, 2008 at 7:05 AM, <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: In tomcat it needs to go in the root webapp, not in the webapps directory. If you just do http://myserver/ <http://myserver/> , what does it resolve to? cheers, David "Tracy Spratt" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Sent by: [email protected] <mailto:[email protected]> 04/20/2008 11:04 AM Please respond to [email protected] <mailto:[email protected]> To <[email protected] <mailto:[email protected]> > cc Subject RE: [flexcoders] crossdomain where is the server root? It goes wherever the web server domain name resolves to. In IIS, ...\inetpub\wwwroot. In JRUN, ...\jrun4\servers\default. I have never put one in a Tomcat installation... hmm, I just went and looked at a tomcat server and I would have expected it to go in "webapps", as you said you tried. First are you trying a global setting, using wildcards for both the port and server? Also, with the latest versions of the player, yo need a couple more entries in tht file. Here is an example. <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd <http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd> "> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*" to-ports="*" /> <allow-http-request-headers-from domain="*" headers="*" /> </cross-domain-policy> That way I figured mine out is to put a global crossdomain in every possible location until it worked, then removed them till it broke. Tracy ________________________________ From:[email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of hworke Sent: Friday, April 18, 2008 8:50 PM To: [email protected] <mailto:[email protected]> Subject: [flexcoders] crossdomain where is the server root? Sorry for asking this question. I am using jetty and put the crossdomain.xml in webapps folder but look like it is not the root. Also which one is the tomcat root? ROOT folder?

