----- Original Message ----- From: "harsha_galla" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Tuesday, November 11, 2008 2:52 PM Subject: [flexcoders] Http Service Issue -Urgent
> Hi, Iam new Flex user. I have come across a peculiar problem.. > I wanted a flex UI for an already existing java project. So I went > about creating the UI in Adobe flex builder and i have servlet > deployed on a server to which the front end has http service calls. > When i run the mxml file from IDE itself it works just fine i.e http > calls work and data from servlet retreieved properly..but when i go to > the project forlder and just run the html file created there the http > service call fails. Can anybody tell me the solution or may be what > Iam doing was wrong. Also help regarding what all files need to be > uploaded to my java project is welcome. Because your html and flash files are on a different machine to the server, the flash security sandbox is preventing you from reading information from a different server to where the html/flash originates. You must either transfer your html/flash to the server your servlet is on, or add a crossdomain security file to that server. http://livedocs.adobe.com/flex/3/html/help.html?content=security2_01.html Paul > > Thanks in advance...