Hi Pete, I appreciate your patience.
I compile the app using Flex Builder. I have the services path parameter set in the Project Properties dialog, along with the context root parameter. I started with a clean build - in fact,it was an entirely new Flex Project. I re-start the app server (Tomcat) after every change to the config files. I discovered something interesting. The original ActionScript class extended Sprite. I changed this to Canvas, and now it works without setting the endpoint in ActionScript. So I now have what I originally wanted, except that I needed to extend Canvas to get it. Any idea why this might be the case? Did I miss something in the docs about this? Do you have any advice as to what might be the lightest-weight ActionScript class that I could extend that would have the desired functionality? The class I'm building has no visible presence at all. Here is what it needs to do: Create, invoke methods on, and subscribe to messages from RemoteObjects; Manipulate the data returned from the RemoteObjects; Dispatch events. Thanks again for the help. Jim --- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote: > > 1.) You should be able to use either the configuration file or a > programmatic approach in ActionScript. > 2.) It is not necessary. > 3.) See 2. > 4.) I understand, let's discuss. > > How did you compile your MXML app - are you using Flex Builder 2 or the > command line compiler? In either of these situations you need to tell > the compiler to include a services-config.xml file in the generated SWF. > This can be achieved through a compiler argument called <services> in > flex-config.xml or specified on the command line using the mxmlc > argument: > --services=c:/path/to/your/web-app/WEB-INF/flex/services-config.xml > > If you're using Flex Builder 2 I know I have better success if I force a > clean and rebuild when I change the configuration file or command line > settings. > > Alternatively, if you're relying on FDS's webtier compiler (i.e. you > browse to a .mxml file and a servlet that ships with FDS compiles your > mxml to SWF) this should already be looking for > /WEB-INF/flex/services-config.xml by default. > > Finally, note that when you do change /WEB-INF/flex/services-config.xml > you need to restart the web application for FDS to see the changes - > although this is not related to your issue at compilation time. > > Pete > > ________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

