Hi, actually, you don't have to declare all operations within the WebService tag - you can invoke a method directly on the stub:
ws.oneMethod(param1, param2); or ws["anotherMethod"](param1, param2); or even ws.thirdMethod.apply(null, arrayOfArguments); Does this help? Dirk. > -----Original Message----- > From: Erik Westra [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 16, 2005 12:07 PM > To: [email protected] > Subject: [flexcoders] Dynamicly calling a webservice > > > > I know u can call a webservice like this: > > <mx:WebService id="ws" wsdl="http://api.google.com.GoogleSearch.wsdl"> > <mx:operation name="doGoogleSearch"> > <mx:request> > <key1></key1> > <key2></key2> > </mx:request> > </mx:operation> > </mx:WebService> > > > But i cant find anything on calling an operation from a webservice > dynamicly. I want to have class that registers itself with > our framework > and then makes the call when it recieves an event. This way > we are able > to debug shizzle. > > But how do i create the request object via actionscript? > Or is there a way to instantiate the webservice class via > actionscript? > > > Greetz Erik > > > > Yahoo! Groups Links > > > > > > > >

