0 Replies Latest reply on Nov 5, 2012 2:54 AM by nitrobear

    How check that wsdl is correctly loaded ?

    nitrobear Level 1

      I have a probleme,

       

      I load a wsdl with this code, but id the network is offline during the wsdl loaded, I don't receive any event with this error and the application is bloqued.

       

      The timeout seems not be used for load Wsdl.

       

       

        // Load the WebServices

                                    this._service = new WebService();

       

                                    this._service.requestTimeout = 5;

       

                                    this._service.wsdl = this._wsdl;

       

        this._service.addEventListener(IOErrorEvent.IO_ERROR, _onIOErrorInitHandler);

                                    this._service.addEventListener(FaultEvent.FAULT, _onErrorInitHandler);

                                    this._service.addEventListener(LoadEvent.LOAD, _completeLoadWsdlHandle);

                                    this._service.loadWSDL();

       

      How can I catch this case ?

       

      thanks

       

      Jean