So the cfc is on the development server at
http://xxx.xxx.xxx/phils/helloWorld/HelloWorld.cfc

Where are you copying the swf to and how are you running it? (ie
http://xxx.xxx.xxx/phils/helloWorld/bin/HelloWorld.swf?)

Also what type of Flex project did you set up (Coldfusion remoting
hopefully)?
What does your "Flex Compiler" tab of the project properties look like
it should have a (-services "/path/to/your/services-config.xml" compiler
argument)?
And what does the "Flex Server" tab of the project properties look like
(it should have a valid root folder and root URL)?

Do you have CF installed on the machine that you are compiling the flex
project on?

Sorry for all the questions, it's just weird that you are having these
problems as Flex/CF integration is a snap if everything is set
correctly...

-----Original Message-----
From: Phill B [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 17, 2007 7:45 PM
To: Flex
Subject: Re: please help me get started

Yes, I can browse to the cfc.

I haven't messed with any of the .xml config files on my laptop or the
dev server.

I have tried it using the debugger but didn't notice anything odd.
Then again, I'm not sure I have the project set up right to work with
debugging on a remote server.

The code is from this article
http://www.adobe.com/devnet/flex/articles/helloworld.html
the only thing I changed was the source for the CFC. I don't have the
code with me but I can send it in the morning.

On 10/17/07, Messer, Jon <[EMAIL PROTECTED]> wrote:
> Can you browse directly to the URL of the cfc that you are using?
>
> If the cfc is in a cf mapped path, did you update the
> remoting-config.xml to <use-mappings>true</use-mappings>?
>
> Also have you changed any of the endpoint URIs in the services-config
on
> either server? If they don't match you'd have to compile against the
one
> on the server for it to work on that server.
>
> Also have you used the flex debugger to examine the result/fault event
> that you receive?
>
> What does your mxml/as code look like that invokes the cfc?
>
>
>
> -----Original Message-----
> From: Phill B [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 17, 2007 12:51 PM
> To: Flex
> Subject: Re: please help me get started
>
> You know what? I have no idea. How do I check what port the two are
> listening to?
>
> On 10/17/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> > are the ports the same in both places?  when a flex app is compiled,
> one
> > using remoteobject that is, info in a services-config.xml file is
> baked into
> > the SWF.  So, copying a Flex SWF from one 'server' to another can
> break
> > pretty easily.
> >
> > DK
> >
> > On 10/17/07, Phill B <[EMAIL PROTECTED]> wrote:
> > >
> > > They are boat installed as Standalone.
> > >
> > > Thanks for the help on this. I'm about to freak out because I know
> it
> > > shouldn't be this hard....
> > >
> > > On 10/17/07, Graham Pearson <[EMAIL PROTECTED]> wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > On the Server was it installed as a Standalone or MultiServer
> Install?
> > > > On the Laptop was it installed as a Standalone or MultiServer
> Install.
> > > >
> > > >
> > > > I had the same issues you are having but mine were under CF7 as
I
> have
> > > > not upgraded to CF8. in my case it would work on the Development
> > > > Machine but not on the Server and when I converted the Server to
> be
> > > > the same as the Development box, for some reason the Proxy was
not
> > > > started on the Production Server. In all it took me 1 week to
get
> both
> > > > servers talking correctly with the same Flex  file cause I
thought
> it
> > > > was something I was doing wrong in my flex file as I am learning
> this
> > > > new stuff.
> > > >
> > > >
> > > >
> > > >
> > > > Phill B wrote:
> > > > > I'm running CF8 Enterprise on Win 2k3. I do get the blank page
> when I
> > > > > go to the /flex2gateway/ and have a section for  Flex
> Integration.
> > > > >
> > > > > I compared the settings on my laptop and the dev server and
they
> look
> > > > > the same. I cant believe it should be this hard....
> > > > >
> > > > > On 10/17/07, Graham Pearson <[EMAIL PROTECTED]> wrote:
> > > > >> -----BEGIN PGP SIGNED MESSAGE-----
> > > > >> Hash: SHA1
> > > > >>
> > > > >> On your Server are you using Coldfusion and if so you need
> version
> > > > >> 7.0.2 at the minimum. When you goto the URL of
> > > > >> http://x.x.x.x/flex2gateway in a web browser you should get a
> white
> > > > >> blank page. Also make sure that you have a tab within the CF
> > > > >> Administrator under Data & Services called Flex Intergration.
I
> have
> > > > >> had these same issues and found that my Production Server did
> not
> > > have
> > > > >> the Flex Intergration so I had to Uninstall CF7 and ReInstall
> 7.0.2to
> > > > >> get the Flex Intergration.
> > >
> > >
> >
> >
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4710
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to