Can you throw some light on how the autogenerated code is not efficient?

*In my application, each server data request creates a new WebService
> object,
> sets the wsdl url and loads the wsdl.*
>

Thats exactly not what the autogen code does. You can easily work with a
single instance of  a business service which contains a private instance of
type abstractwebservice. The wsdl is loaded once and only once.

The most obvious solution here seems
> to be to load the URL only once and retrieve the Operation object from the
> WebService object each time a web service call is made.
>

The business service class has utility invocation methods for each
webservice operation to save the manual effort involved.

~Peeyush Tuli
  Adobe Certified Expert
  http://www.metadesignsolutions.com


On Wed, Apr 28, 2010 at 9:50 PM, Oleg Sivokon <[email protected]> wrote:

>
>
> > I am not sure why you need to write the plumbing code at that level. It
> should be handled by the autogenerated code from flex builder webservice
> wizard itself.
> It says "Efficient" in the title :)
>  
>

Reply via email to