Basically, you want to create a destination in the services-config.xml
file that points to your server. Something like:

<endpoint uri="http://www.example.com/flex2gateway/";
class="flex.messaging.endpoints.AMFEndpoint"/>

Also, make sure you have compiler settings set for for this. Something
like -locale en_US -services "services-config.xml"


HTH




Steve


--- In [email protected], "valdhor" <valdhorli...@...> wrote:
>
> You may like to check out
>
http://blogs.adobe.com/flexdoc/2007/02/hello_world_application_for_fl_1.html
> 
> 
> --- In [email protected], "jch92592" <jch92592@> wrote:
> >
> > Valdhor, 
> > Thank you for the reply.
> > I reviewed the referenced site and it helps, but, I think I need an
> > example of how to update the services-config.xml fiel to point to
> > server that would be great.
> > 
> > jh
> > --- In [email protected], "valdhor" <valdhorlists@> wrote:
> > >
> > > The destination property will look in the services-config.xml
file for
> > > a matching destination. Flex can then use this destination to find
> > > your server.
> > > 
> > > It looks as though you don't have that destination set in your
> > > services-config.xml file. Check your projects properties for the
> > > location of the services-config.xml file and check that you have
that
> > > destination set.
> > > 
> > > A good explanation can be found at
> > >
> >
>
http://www.firemoss.com/post.cfm/Flex-Configuration-Demystified-servicesconfigxml-Destinations-and-Channels
> > > 
> > > 
> > > 
> > > HTH
> > > 
> > > 
> > > 
> > > 
> > > Steve
> > > 
> > > --- In [email protected], "jch92592" <jch92592@> wrote:
> > > >
> > > > I am trying to get a Flex App to access a Cold Fusion CFC on my CF
> > 7.0.2
> > > > server.
> > > > 
> > > > I get the following error:
> > > > 
> > > > MessagingError message='Destination 'ColdFusion' either does not
> exist
> > > > or the destination has no channels defined (and the
application does
> > > > not define any default channels 
> > > > 
> > > > 
> > > > Using:
> > > > 
> > > >  <mx:RemoteObject
> > > >         id="userRequest"
> > > >         destination="ColdFusion"
> > > >         source="flexapp.returnusers">
> > > > 
> > > >     <mx:method name="returnRecords" result="returnHandler(event)"
> > > >      fault="mx.controls.Alert.show(event.fault.faultString)"/>
> > > >     <mx:method name="insertRecord" result="insertHandler()"
> > > >          fault="mx.controls.Alert.show(event.fault.faultString)"/>
> > > > </mx:RemoteObject>
> > > > 
> > > > (This and the CFC are sample files from the Flex 3 Docs.)
> > > > 
> > > > If I use the local developer edition of the CF server (same
version)
> > > > all works well, no errors.
> > > > 
> > > > Does anyone have an idea of what the issue could be?
> > > > How about a good resource (book, article, consultant) to assist?
> > > > 
> > > > Can anyone explain what the "Destination" parameter is? 
> > > > 
> > > > thank you in advance.
> > > > 
> > > > jh
> > > >
> > >
> >
>


Reply via email to