I am beating my heads out but this strange problem doesnt
seem to have an answer.
I have a web app which retrieves data from a web service and
displays in a grid.It runs fine from a FLEX IDE.
I installed Livecycle data service(Flex.war , flex-admin.war
, samples.war) on tomcat and I created a directory in the samples
directory in which I have put my mxml file.I am able to access my
application through a URL.but when I hit the button to get the data
, It doesnt seem to be doing anything.
Also when I access the app, a swf file gets created in the
app directory but when I try to run it , It give the error
I searched online and ppl say that this is a crossdomain
issue but I have everything running on the same m/c.My application
, the UDDI server and the actual web service are all deployed on
the same physical m/c.
Guys , please help me If you know any solution.!! This is
driving me crazy!
I am not sure what hotfix 3 id but I have solved my problem.
I came across two little enlighntements.
1) The swf player security does not allow to fetch data from
any other domain.The "domain" thing here is very important coz
http://yahoo.com will be considered
different domain per the FLEX specs.
So basically my problem was that the crossdomain.xml which I
have put on my UDDI server was not accessible at the root.
so basically ur crossdomain.xml must be accessible on the URL
http://domain.com:port/crossdomain.xml I modified the server.xml of the UDDI server to access the
crossdomain.xml on the root.You might have a different server file
to modify but this is the solution.
2) Also when you copy ur swf file out of your FLEX builder
default directory,It give error.
For this you need to make an entry in the flexbuilder.cfg
C:\Documents and Settings\user_name\Application