After much study I believe the issue here is that, if I understand the topology of Flex, the local developer needs to have write access to the app server where Flex is running because flex compiles the mxml and creates .swfs on the server, prior to running them. Is this correct? Currently our developers (who work with FlashMX) can't write to the app server. When their interface code is ready it gets deployed to the server.
Your example below is very good. I am sorry I must have missed it the first time. Everything works for me on the local machine, but not on the remote machine. Do you need a "site" defined in flexbuilder in order to run on remote? If so, where does the endpoint tag in remoteobject tag come into play, what is the point of it? Thanks, Libby --- Tracy Spratt <[EMAIL PROTECTED]> wrote: > I'm still not sure how far you have gotten and where > you are stuck. > > Have you run the RemoteObject example in the samples > folder? > > I also posted a simple example that extends the > example: > http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI > D=18 > > Now both those examples use a remote service on a > local machine. Can you > do that ok? Is your problem specifically with the > remote server? Have > you set up the whitelist? Do you get any errors? > > Tracy > > -----Original Message----- > From: Libby Chantel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 12:55 PM > To: [email protected] > Subject: RE: [flexcoders] Run MXML on PC, Calling to > Java on Remote > Server - Help > > > I read your chapter but it didn't explain how to do > what I am trying to do. I think my favorite part was > on page 5, where it says: > "... if you're implementing an > RIA interface on an existing J2EE infrastructure > that > has business logic contained in your > Servlet tier, consult the Flex documentation to see > how you can use RemoteObject to invoke methods > exposed > on Servlets in your app server." > That note was particularly helpful <sarcasm> in > light > of the fact I can't find any such info so far in the > MM documentation. > > Eventually I will figure out exactly where to look, > I'm sure. So far I can find tidbits, but no > examples, > of how to write mxml on one machine in flexbuilder, > then run it from flexbuilder to invoke java on a > remote app server, as if it were a client-server > app. > > Libby > > --- Steven Webster <[EMAIL PROTECTED]> > wrote: > > > > Libby, > > > > Chapter 20 of "Developing Rich Clients with > > Macromedia Flex" is a free > > download (I posted > > in an earlier message) and covers in great detail > > the use of the > > RemoteObject tag, to > > achieve just what you are trying to do. > > > > Steven > > > > > -----Original Message----- > > > From: Libby Chantel > > [mailto:[EMAIL PROTECTED] > > > Sent: 04 April 2005 18:59 > > > To: [email protected] > > > Subject: [flexcoders] Run MXML on PC, Calling to > > Java on > > > Remote Server - Help > > > > > > > > > I am a newbie with Flex, trying to get it going > > for a proof > > > of concept. I have Flex installed on my remote > > Java Server > > > (Websphere). I can successfully make calls from > > Flash apps on > > > my pc to the java programs running on the > server. > > So far, I > > > cannot get the very same calls from Flex to > work. > > I cannot > > > find an example of this setup in the MM doco for > > Flex. Could > > > someone PLEASE either post a link to the doco > that > > explains > > > it in terms a dummy like me can understand, or, > > post sample > > > MXML code that works for you? Or, maybe even do > > both :) > > > > > > Thank you very much, > > > Libby > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Small Business - Try our new resources > > site! > > > http://smallbusiness.yahoo.com/resources/ > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > -- > > > No virus found in this incoming message. > > > Checked by AVG Anti-Virus. > > > Version: 7.0.308 / Virus Database: 266.9.2 - > > Release Date: 05/04/2005 > > > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Anti-Virus. > > Version: 7.0.308 / Virus Database: 266.9.2 - > Release > > Date: 05/04/2005 > > > > > > > > > > > > Yahoo! Groups Links > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > > Yahoo! Groups Links > > > > > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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/

