Hello Matt,
Thank you for your advice and suggestion and I am sorry for not able to reply back earlier.
You are right I am using Flex Builder to compile. In Flex Builder compiler properties dialog box, I have added the -services-config argument along with the default argument '-locale en_US' separated by comma. The aruguments are as follows -
-locale en_US,-services-config. Other settings are set to default values.
After compilation, when I run the application from the browser, by calling the html wrapper file, it does not make the remote object call. But once if I directly run the mxml file from the browser, it executes the remote call and thereafter whenever the html wrapper is made to run, it calls the java remote object and executes properly. The remote object calls a java object that writes an xml file in the file system, which is further used by
flex datadriven controls.
I had also tried to add the services valu directly in the flex-config.xml file but that too did not show correct results.
<services>services-config.xml</services>
I am sure that I am following some wrong process for compilation? But I am unable to decipher the problem.
Please advice and help.
Thanks and Regards,
Paromita
Matt Chotin <[EMAIL PROTECTED]> wrote:
Nope, you only need to deploy the SWF and HTML wrappers. Sounds like youre compiling using Flex Builder which may mean that its not pointing at the service-config.xml which I saw mentioned in some other posts recently. Make sure you your services-config compiler argument is set up (or that the flex-config. xml youre using has it set). Matt
From:[EMAIL PROTECTED] [mailto:ups.com [EMAIL PROTECTED] ] On Behalf Of paromitadeyups.com
Sent: Thursday, September 07, 2006 10:32 PM
To:[EMAIL PROTECTED] ups.com
Subject: [flexcoders] Deploying a Flex Application making rpc.remoting callsHello All,
I am pretty new top flex and I am trying to develop a simple Flex
application which makes RPC remote object calls using
mx.rpc.remoting.RemoteObject ...
The remote obect accesses a java object which in return sends a XML
stream which is further received by the flex environment for
populating datagrid, lists and other data driven controls.
It runs fine when I make a http request call to the mxml file directly
but when I try to run the application swf using the wrapper created by
the builder itself. The remote object call it not functioning.
For deploying flex application making remote object calls do we need
to run and deploy the mxml file with all related actionscript files in
the deployment environment?
Please help.
Regards,
paromita
Get your email and more, right on the new Yahoo.com __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
Reply via email to

