We are not helping with the problem yet.

 

I do not know of a way to change the way the url resolves.  Since the location of the swf presumably does not change, you could pass the necessary url into the Flex app using flashvars in the wrapper.  Then, in the Flex app, you could use the passed in url as the base address and concatenate on the http service relative url.

 

Actually, I can see myself facing this issue soon.  If I get time, I will try to do an example.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Carson Hager
Sent: Friday, July 07, 2006 11:36 AM
To: [email protected]
Subject: RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

 

Always here is pretty strong. The only time I could see this is for
something like a publicly available web service like a FedEx tracking
request - (1) read only so no damage done in dev and (2) not under your
direct control so you don't have a choice. If you have any kind of dev
vs. prod environment for your own developed web services ( hopefully
you do ), you're then looking at changing your code each time you go to
production. I could also see a case where you know your web services
will be on a separate box from your web server requiring a fully
qualified but then I would hope that the rootURL property was in use and
set somewhere. My point here is that I don't agree with the "always"
notion. I see too many cases where relative URLs are very helpful.

Carson

____________________________________________

Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email: carson.hager@cynergysystems.com
Office: 866-CYNERGY
Mobile: 1.703.489.6466

-----Original Message-----
From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On
Behalf Of Tom Chiverton
Sent: Friday, July 07, 2006 2:36 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Thursday 06 July 2006 14:57, dehemke wrote:
> Is there a way to force relative urls to resolve based on the swf
> location instead of the html wrapper location?

Web service URLs should always be absolute.

--
Tom Chiverton

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF. A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged. If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents. If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.

------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
----------------------------------------------------------~->

--
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




__,_._,___

Reply via email to