I tried this solution but there is no success. At the initialization of flex
do i need to add following codes:
Security.allowDomain("*");
Security.loadPolicyFile("http://servername:8080/MyFlexApp/crossdomain.xml");2008/10/13 Varun Shetty <[EMAIL PROTECTED]> > yes, you will require crossdomain.xml file on the server that has the > webservice. > > if you are hosting on tomcat and the site example is tomcat.com and > webservice is on webservicetom.com > you need to have a crossdomain file on the webservicetom.com root folder. > > > <cross-domain-policy> > <allow-access-from domain="*tomcat.com"/> > <allow-http-request-headers-from domain="*tomcat.com" headers="*" > secure="false"/> > </cross-domain-policy> > > regards, > Varun Shetty > > > On Mon, Oct 13, 2008 at 10:56 AM, ararat <[EMAIL PROTECTED]>wrote: > >> >> I developped a flex application that communicates with java web >> service. When i open my application there is a login form. It sends a >> request to web service user's name and password. At my local machine >> no problem with accessing to web service. But when i deploy customer's >> server on tomcat there is a problem to reach web service. When i >> lounch the flex app. there is no error on load, after entering >> username and password and press the submit key, there is no action. >> Also the busy cursor doesn't appear. I think flex app. cannot reach >> web service. Is it a crossdomain.xml problem or other reason? Have >> someone ever met this problem? (I put the crossdomain.xml to root >> directory of my app) Anyone have ideas? >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

