• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Coldfusion CFC access with Flash Builder

Participant ,
Oct 06, 2011 Oct 06, 2011

Copy link to clipboard

Copied

Is it possible to access CFC's for development on a remote server without shared netword drive access?

Thanks

Views

669

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Oct 06, 2011 Oct 06, 2011

Yes.  No need for local CF server or LAN. 

All you need http access to your remote CF Server via the endpoint url in your remoteObject call http://www.yourdomain.com/flex2gateway/ 

When debugging or running Flex web or air app locally, you can still get data from your remote CF server.

<s:RemoteObject

                              id="cfdata" showBusyCursor="true"

                              destination="ColdFusion" endpoint="http://www.yourdomain.com/flex2gateway/"

                             

...

Votes

Translate

Translate
Engaged ,
Oct 06, 2011 Oct 06, 2011

Copy link to clipboard

Copied

yes ... absolutely.  Flex works great with ColdFusion. You can use remoteObject calls on the Flex side to call functions inside your cfc.  Your cfc function must be set to access="remote" .  The remoteObject endpoint points to your coldfusion server (e.g. http://www.yourdomain.com/flex2gateway/).

This is a good place to start

http://www.adobe.com/devnet/flex/flex_cf.html

Don

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 06, 2011 Oct 06, 2011

Copy link to clipboard

Copied

Yes I know I can do all that when coldfusion is installed on my hard drive, but in this case

I can ONLY access the CFC over the internet.

I don't have LAN access. I can't mount a drive or browse to select the CFC

You are saying its still possible to develop against the flash remote cfc's when

you do not have access except via http?

Dan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 06, 2011 Oct 06, 2011

Copy link to clipboard

Copied

LATEST

Yes.  No need for local CF server or LAN. 

All you need http access to your remote CF Server via the endpoint url in your remoteObject call http://www.yourdomain.com/flex2gateway/ 

When debugging or running Flex web or air app locally, you can still get data from your remote CF server.

<s:RemoteObject

                              id="cfdata" showBusyCursor="true"

                              destination="ColdFusion" endpoint="http://www.yourdomain.com/flex2gateway/"

                              source="mycfcpath.mycfc">

  <s:method name="getPhotos" result="getPhotos_Result(event)" />

  </s:RemoteObject>

Hope this helps.

Don

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines