OK... lots to answer here...

1) You can verify your gateway by simply browsing to the URL you
specified... if the page is blank, you're good to go... if you got an error,
you're not.

2) You need to place your cfc files beneath your CF webroot folder... this
is the default location for the gateway to look.

3) You need to confirm that you have a /flex folder under your
ColdFusion/wwwroot/WEB-INF/ directory... if not, then you need to look into
how to get that setup... I can't remember off the top of my head, but
there's plenty of information on setting up ColdFusion for Flex.

4) Once you get your /flex directory setup properly, there are a few files
in there you'll need to configure... a) services-config.xml, b)
remoting-config.xml.  There is also information out there on setting these
up.  Essentially, you'll need to reference an EndPoint which is defined in
these files.  There is a default one setup called ColdFusion which has a
channel setup for it already.  You really should be able to utilize the
ColdFusion endpoint automatically as soon as you have things setup, and your
CFC located within the webroot folder.


I can provide some examples for each of these areas if you still need help,
but don't have access to them on the current machine I'm writing this from.
 Let me know, and good luck!


Brendan

On Thu, Sep 9, 2010 at 11:18 AM, Joshua <w...@wolffebrothers.com> wrote:

>
>
> Hello,
>
> I've been searching and searching for some consistent info regarding the
> complete setup required to get flex 3 to talk directly to a cfc on a REMOTE
> coldfusion server.
>
> I've got access to the coldfusion server admin.
>
> My problems.
>
> 1. Where is the flex gateway specified (or flash)? I see all these articles
> saying it's at www.mydomain.com/flex2gateway. I have no idea how to verify
> that and when I do a remote call to it in flex it says....
>
> MessagingError message='Destination 'http://www.mydomain.com/flex2gateway/'
> either does not exist or the destination has no channels defined (and the
> application does not define any default channels.)']
>
> 2. So, I couldn't find the default flex gateway so I created my own under
> the events gateway tab. I gave it an id of flexRMS a type of CFML and
> pointed the cfc path to the cfc I want to call and set the config file to
> Coldfusion8/gateway/config/flex-data/management/gateway.cfg
>
> I can't connect to that either
>
> 3. If I could connect, which I can't, I need to point to a different
> components folder on the server that holds all the cfcs that I really need
> to invoke.
>
> 4. So, I thought well maybe I need to configure my flex project and specify
> that I'm using Coldfusion as the server type. I check Use Remote Object
> Access Service, then specify Coldfusion Flash Remoting Then I get to the
> page where I'm supposed to check between Coldfusion installation type,
> Standalone or Deployed to J2EE (I've got no idea what to do here) anything I
> check or fill out tells me that I've got no config files in the WEB-INF
> folder under flex when I click the validate Configuration.
>
> Can somebody throw me a bone here. Jeez
>
>  
>

Reply via email to