I'd go a step further and recommend disabling your UI with a modal
"Loading..." dialog until you receive LOAD or FAIL from the web service
initialisation (load() or whatever it is that kicks it off), unless there's
a time-consuming user task to be performed before anything can be sent to
the server.

-J

On Thu, May 8, 2008 at 3:15 PM, Anirudh Sasikumar <
[EMAIL PROTECTED]> wrote:

>   Hi,
>
>
> On Thu, May 8, 2008 at 2:55 AM, handitan <[EMAIL 
> PROTECTED]<handitan%40yahoo.com>>
> wrote:
> > Does anyone know a way to have the token still retain the injected
> > function and properties?
>
> Your fault event for the operation.send() won't even fire if wsdl is
> bad, instead, the fault event for the webservice will fire. That event
> object will not have the same token as the one you modified from the
> return value for send().
>
> You need to either check the ready property on webservice or listen to
> the LoadEvent.LOAD dispatched by the webservice to make sure your WSDL
> is all set up. Ideally, operation.send() calls should be made only
> after this.
>
> Cheers,
> --
> Anirudh Sasikumar
> http://anirudhs.chaosnet.org/
>  
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to