Thanks to Mark's help, I have been merrily connecting to a dev server.
But the application and server will be deployed together at multiple
sites and I'd rather not have to build the library for each site.

Are there any good examples or documentation showing how to set up the
RemoteObject dynamically? Given the amount of information in the
services config files, can I use those at compile time for all the
generic stuff, and just change a channel endpoint or something?

Thanks.

On Mon, Apr 7, 2008 at 4:06 PM, Mark Piller <[EMAIL PROTECTED]> wrote:

> Yes, either one of the approach is valid. I do prefer to have config
>  files in place as it results in fewer lines of code.
>
>  You do not have to put the config files into src, just somewhere on
>  the computer. When you reference services-config.xml in the -services
>  compiler argument, make sure to use absolute path to the file.
>
>
>  Cheers,
>  Mark
>
>  --- In [email protected], "Richard Rodseth" <[EMAIL PROTECTED]> 
> wrote:
>  >
>  > Thanks for the suggestion, Mark. Do you mean I should just create a
>  > server-less FlexBuilder project, and place those files inside my src
>  > directory? Someone else suggested that one can ignore the config files
>  > completely, and build up the RemoteObject from scratch in
>  > ActionScript.
>  >
>  > On Mon, Apr 7, 2008 at 3:34 PM, Mark Piller <[EMAIL PROTECTED]> wrote:
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > Hi Richard,
>  > >
>  > > Copy the config xml files from /weborb30/WEB-INF/flex to your local
>  > > box and compile the project with the local version of the files. The
>  > > only change you need to make is in services-config.xml. Locate the
>  > > my-anf channel and change the endpoint URI to be an absolute URL
>  > > pointing to your dev server.
>  > >
>  > > Also, keep in mind you might need to put crossdomain.xml in place on
>  > > the remote server.
>  > >
>  > > Cheers,
>  > > Mark
>  > >
>  > >
>  > >
>  > > --- In [email protected], "Richard Rodseth" <rrodseth@>
>  wrote:
>  > > >
>  > > > I'm just getting started with AMF. WebOrb backend, but I'm on a
>  Mac.
>  > > >
>  > > > Is it possible to set up a FlexBuilder 3 project so I can
>  connect to
>  > > > the remote endpoint. All the instructions I've found talk about
>  > > > running a local server. Can I copy server-config.xml somewhere
>  in my
>  > > > project? Or just web share a folder containing it?
>  > > >
>  > > > Thanks for any tips.
>  > > >
>  > >
>  > >
>  >
>
>  

Reply via email to