Crossdomain.xml needs to go in your ROOT webapp so that it's available
at /crossdomain.xml

Matt

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of d93574
Sent: Monday, April 10, 2006 8:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Crossdomain.xml with Flex 2 beta 2

I've done most of my development with Flex 1.5 so this was not an issue.

However I am now working to port some of my flex 1.5 code to Flex 2
Beta.

I have the following web server (tomcat) running on my workstation:

* http://lp008400:8080/OEdbreWeb
* I wrote a simple Flex app that declares a web service
  that acceses the wsdl on this web server:
  <mx:WebService
wsdl="http://lp008400:8080/OEdbreWeb/wsdl/Altedbre.wsdl"; id="ws1"
showBusyCursor="true">

* I added the following crossdomain.xml file to
  http://lp008400:8080/OEdbreWeb

  http://lp008400:8080/OEdbreWeb/crossdomain.xml
  This returns the following xml:
  <?xml version="1.0"?>
  <!DOCTYPE cross-domain-policy SYSTEM  
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
  <cross-domain-policy>
    <allow-access-from domain="*" />
  </cross-domain-policy>

However I still get a sandbox security error when I launch my flex 2
application and it tries to get to the wdsl.

Any insight as to what to do next?  At this stage I'd rather not write
a proxy.  I just want to get to my web service in the simplest way
possible.

Thanks for any help.

Jim Kohn






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to