ah. well then. No service config for you. Remote object with fully qualified paths, setup from a configuration file i would say.
On Wed, Aug 5, 2009 at 7:50 PM, Scott <[email protected]> wrote: > > > Where does it pull the server name from? Is it where the flex app was > called from? To make this a little more complex; this is an Air application > so it’s installed locally. > > > ------------------------------ > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Johannes Nel > *Sent:* Wednesday, August 05, 2009 9:46 AM > *To:* [email protected] > *Subject:* Re: [flexcoders] Moving flex app (coldfusion) to a production > server > > > > > > if you setup your services config to point to a specific server like this: > > > <endpoint url="rtmp://www.servername.com:2038" > class="flex.messaging.endpoints.RTMPEndpoint"/> > then change it to > <endpoint url="rtmp://{server.name}:2038" > class="flex.messaging.endpoints.RTMPEndpoint"/> > > so for example my amf channel endpoint is defined as this > <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> > <endpoint > url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" > class="flex.messaging.endpoints.AMFEndpoint"/> > <properties> > <polling-enabled>false</polling-enabled> > </properties> > </channel-definition> > > deploying between servers then becomes pretty easy. > > On Wed, Aug 5, 2009 at 4:16 PM, Tom Chiverton < > [email protected]> wrote: > > > > On Wednesday 05 Aug 2009, Scott wrote: > > I've been working on my development environment on my notebook for a > > while now. I've got Flex and CF loaded locally along with CF's built in > > web server. I discovered that it seems the services-config.xml may be > > what tells the flex app to connect to a specific server. How do I move > > a development app like this into production? > > Copy the file to the server. Bounce CF. > > **************************************************** > > 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 > Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list > of members is available for inspection at the registered office together > with a list of those non members who are referred to as partners. We use the > word ?partner? to refer to a member of the LLP, or an employee or consultant > with equivalent standing and qualifications. Regulated by the Solicitors > Regulation Authority. > > 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 2500. > > For more information about Halliwells LLP visit > *www.Halliwells.com*<http://www.Halliwells.com> > . > > > > > -- > j:pn > \\no comment > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is > believed to be clean. > > -- j:pn \\no comment

