Remember that the relative url is from the
SWF, not the component. If you really think that you only made a small change
and things stopped working then slowly work back to what you had before and see
if it starts working. You’ll see what change caused the problem. I find
that sometimes my “small” changes weren’t so small after all,
or were just slightly wrong enough to cause problems J
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jivankohinoor
Sent: Monday, October 03, 2005
1:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cannot use
relative URLs on Service. event.result is empty !
I am getting crazy with Flex: its behaviour seems to change
erratically without reasons.
I have now 2 main problems :
1) Accessing a HttpService with relative url:
After refactoring a code that was monolithic into
different classes, I
am no longer able to accces my HttpService with a
relative URL.
If I do NOT specify the complete absolute URL:
http://server/appli/service,
the call fails BUT ONLY ON A REMOTE
TOMCAT SERVER, NOT ON A TOMCAT SERVER ON LOCALHOST
!!!
Previous to code refactoring, I had no problem
with that.
I also tried with a named service, it does the
same.
2) After a successfull HTTPService call,
"event.result" property is
undefined, instead, I have an
"event.links" property defined, that
should be "event.result.links" !! How is
it possible ?
Here also, I did not have this behaviour :
yesterday night it worked
fine, and this morning, after some small coding,
this new erratic
behaviour appeared !!!
I am afraid that Flex is not a good choice for
real applications, such
as the one I am developping, and that I will spend
lots of time
solving such non-business issues.
Any help would be great
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS