Hi Kumar

Here's an example used with a web service call:

 var ws:WebService = new WebService();
 ws.wsdl = someWebservice;  
 ws.useProxy = false; 
 ws.loadWSDL();         
 ws.getfoo.resultFormat = "object";

 // set listeners to capture results/faults
 ws.addEventListener("result",doResults);   
 ws.addEventListener("fault",doFault);
          
 // operation
 var op:AbstractOperation;                               
 op = ws.getFoo;  
    
 // args < REQUEST usage>
 op.arguments = {param1:"foo",param2:"bar"};
  
 op.send(); 

Cheers
Wayne



--- In flexcoders@yahoogroups.com, "KP" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
>  
> 
> Can some one tell me the approach for accessing request in action 
script.
> 
>  
> 
> Well we can do the same in mxml using <mx:Request> tag.
> 
>  
> 
> I want to do same in action script.
> 
>  
> 
> Thanks
> 
> Kumar
>





--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to