HI all, I need help in handling result in webservices..following is the code.
the add method takes two inputs from the user and computes the sum...at the backend which is written in Java.. so when i get the result how should i handle it..Is the below code correct to handle it..or exampleService is the main service class public function find():void{ exampleService.addEventListener("result",handleResultHandler); exampleService.add(String s1,String s2); } public function handleResultHandler(event:AddResultEvent):void{ resultArr=event.result.asIList().toArray(); //event.result.asICollectionView(). trace(length+":"+resultArr.length); trace(event.result.length); } ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com