Hi Peeyush,

It's kind of long to explain it but in short, this is to help me 
centralize all my webservice call into one location.

So instead of having <mx:WebService /> in every component, I am just 
calling webservice from a class that contains all the WebServices.
i.e.

class CustomWS
{
  public getWS():WebService
  {
    //This is where the cloning takes place
  }

  public populateGridWS():void
  {
    var ws:WebService = getWS();
    ws.populateGrid();
  }
}

Hope this is pretty clear.

--- In flexcoders@yahoogroups.com, "Peeyush Tuli" <[EMAIL PROTECTED]> 
wrote:
>
> Can you let us know the your requirement for doing this?
> 
> ~Peeyush
> 
> On Fri, Mar 21, 2008 at 4:01 AM, handitan <[EMAIL PROTECTED]> wrote:
> 
> >   Howdy,
> >
> > I have been trying to clone a WebService instance with no result.
> > Is it really possible to do it?
> >
> > I have looked on the web and Flex 3 help but I couldn't find the 
way.
> > I already tried using ObjectUtil.copy() but it is not copying all 
the
> > webservice's members.
> >
> > Thank you.
> >
> >  
> >
>


Reply via email to