While they are the easiest to create and implement, WebServices are inherently the slowest protocol of choice. Consider switching to RemoteObject and BlazeDS; to realize a significant increase in performance. Having the client parse-out SOAP xml, is like choosing to put an old VW engine in Ferrari.
-TH --- In flexcoders@yahoogroups.com, Krunal Panchal <panchal_...@...> wrote: > > getting time to take the data from the web service. > > for example: > > In web method i am executing the storec procedure, which will executed in 3 > secs. > > but in the flex side data will retrive after 6-8 secs. > > Regards, > > ________________________________ > > Krunal Panchal > > > > > ________________________________ > From: valdhor <valdhorli...@...> > To: flexcoders@yahoogroups.com > Sent: Friday, 18 September, 2009 22:29:49 > Subject: [flexcoders] Re: How can we increase web service performance? > > > So, again I ask... Is the problem with the amount of time Flex takes to parse > the data or with the amount of time taken to get the data from the web > service? > > --- In flexcod...@yahoogro ups.com, Krunal Panchal <panchal_kru@ ...> wrote: > > > > hi hanks for prompt respose. > > > > Actually the problem with getting data (parsing the data). After > > calling web method, data will return after few seconds.which i want to > > solve. > > > > Regards, > > > > ____________ _________ _________ __ > > > > Krunal Panchal > > > > > > > > > > ____________ _________ _________ __ > > From: valdhor <valdhorlists@ ...> > > To: flexcod...@yahoogro ups.com > > Sent: Friday, 18 September, 2009 18:44:36 > > Subject: [flexcoders] Re: How can we increase web service performance? > > > > > > Is the problem with Flex or with the web service itself? You can check data > > latency with something like Charles (www.charlesproxy. com). > > In my experience, web services are not that fast. > > > > --- In flexcod...@yahoogro ups.com, Krunal Panchal <panchal_kru@ ...> wrote: > > > > > > Hi All, > > > > > > I have create the web based flex application on which i am using the dot > > > net web service. When i call the web service method it is taking time to > > > retrive the data. > > > > > > Web Service Configuration: > > > I have configure web service by importing option from Data menu. Which we > > > will automatically generate all the action script files. So i have > > > calling the web service by calling its object. For example: > > > > > > privatevarserviceMe nu : myWebService; privatefunctionr egisteredAppInit > > > () : void{ // registered the event serviceMenu = > > > serviceMenu. addapplicationIn itEventListenern ewmyWebService( > > > null,strWebServi ceURI); > > > ( function(event : ApplicationInitResu ltEvent) : void > > > { var > > > arrLocation = event.result; arrLocation : ArrayCollection = > > > newArrayCollection( ); } > > > serviceMenu. applicationInit( > > > > > > Thank in Advance > > > "para"); > > > } > > > Regards, > > > > > > ____________ _________ _________ __ > > > > > > Krunal Panchal ) > > > > > >