Hi FlexCoders,

How do I change the Result property of a web service operation?

For example, I have declared my WebService as follows:

<mx:WebService id="ws">
  <mx:operation name="Call_One" result="Call_OneRH(event)" 
fault="Call_OneFH(event)" />
  <mx:operation name="Call_Two" result="Call_TwoRH(event)" 
fault="Call_TwoFH(event)" />
</mx:WebService>

I want to be able to change the result of the operation "Call_One" to another 
result, since I am planning to re-use the same web service, but the result 
would be treated differently.

Will this work?

ws.operation.Call_One.result = "myOtherResult"

Any ideas?

Thanks. Regards.

Angelo


      

Reply via email to