Instead of pointing to the location of your services-config.xml try creating in 
Flex without the remoting server.  Then try...

>>Flex accessing CF7 via RemoteObject. All environments are different so 
>>editing all the services-confg.xml files is not an option. I removed the 
>>-services and have my wrapper CFM create the toString("http:/" & 
>>CGI.SERVER_NAME & "/flex2gateway/") then pass it in via flashVars, read the 
>>flashVar in my init() and set it to a new var. Then use it in the 
>>RemoteObject endpoint="{newVar}" setting. Works like a charm.<<

Now this is using CF which puts in the /flex2gateway/ path to the 
services-config.xml file and allows me to read in the SERVER_NAME via CGI, not 
sure if this is the same with BlazeDS but you should be able to read in the 
server name and create your path to the xml file.  

Greg Murnock



----- Original Message ----
From: [p e r c e p t i c o n] <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, March 6, 2008 2:36:38 PM
Subject: Re: [flexcoders] Re: Defining a root folder for BlazeDS installed on 
remote server

Josh,
Have you tried not using RemoteObject and just use NetConnection instead? I did 
get BlazeDS working using RemoteObject, but
for a different project i used amfphp and used netconnection for the 
remoting...that way you can connect to anything without your project being 
coupled with the webapp...i haven't tried this with BlazeDS but theoretically 
it should work...
p


On Thu, Mar 6, 2008 at 9:58 AM, joshbuhler <[EMAIL PROTECTED] com> wrote:

--- In [EMAIL PROTECTED] ups.com, Tom Chiverton <tom.chiverton@ ...> wrote:
>

> If the only reason you have a local one is for this config file, it needn't 
> even be running, you don't even need it installed, surely ?
> 
> -- 
> Tom Chiverton


The problem I'm running into however is that without a local server running, 
FB3 refuses to 
validate the links to the Flex Server in the project properties, and won't 
allow me to close the 
Properties window.




 


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to