" + ObjectUtil.toString(obj) + "\n"; this.output.text += "-----------------------------------------\n"; } private function handleInvokeEvent(event:InvokeEvent):void { // here we can have a look at the actual soap message being created before its sent // check for the values request = event.message.body["lastName"]; dynamicProp = event.message.body["anotherProp"]; dump("Actual Request " + request); } private function onServiceFault(event:FaultEvent):void { result = event.fault.faultString; } private function onServiceResult(event:ResultEvent):void { result = event.result; } public function Test_concreteVars():void { dump("service result: " + result); Assert.isTrue(request == "Anonymous", "not true"); } public function Test_dynamicVars():void { Assert.isTrue(dynamicProp == "dynamic property", "not true"); } ]]>