Nevermind, I'll just make a background call when the ap loads to establish the wsdl. Still interested to know the answers to the questions though.
Thanks again, -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > I have the same question as Kelly. It seems that the initial call > to a webservice is slower because of the wsdl. Subsequent calls are > fine, but there is always an initial delay. I know, switch to > HTTPService or RemoteObject. > > For the following code, I'm thinking that I could override the > loadWSDL() function, but the mx.rpc.soap.WebService API doesn't > appear in the framework. Is the API final? Is there a work- around > here? > > public function DataServices(pri:PrivateClass, wsdl:String) > { > this.ws = new WebService(); > ws.wsdl = wsdl; > ws.loadWSDL(); > ws.useProxy = false; > ws.makeObjectsBindable = false; > } > > Thank you, > -TH > > --- In flexcoders@yahoogroups.com, "Kelly Birr" <kelly.fx@> wrote: > > > > Is it possible to somehow embed WSDL in the compiled SWF, or > read/write the > > actual WSDL directly to the web services without them having to > request it > > via HTTP at runtime? Can I bind the WSDL to a string that I > manually > > request via UrlLoader? > > > > Along with that if I have 15 different web service tags on > different MXML > > components of my application that all call the same web service > with the > > exact same WSDL Uri, will the WSDL cache? or will each Web Service > instance > > make a request for the WSDL via HTTP when it is initialized. > > > > My client is very concerned that the application may be > too "chatty" on > > their network and it seems that these WSDL requests may be part of > the > > problem. I'm using Flex 2.0 RTM. > > > > - Kelly > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/ <*> 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/