Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-21543

WebService is slow to be ready

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • RPC: WebService
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Generate Proxy via Introspection of attached WSDL
      2. Launch application which polls generated webservice class for status of _serviceControl.ready
      3. Sit back and wait for around 30 seconds for Flex to become ready even though web server has long since returned wsdl (Confirmed in the Fiddler Traffic Monitor)

      Just to be clear: This is not a web server performance issue. The WSDL is being returned in under around 1 second.

      Relevant Code:

      public class NPSEnterprise extends _Super_NPSEnterprise
      {
      public function loaded():Boolean

      { return this._serviceControl.ready; }

      }

      and in main application code behind

      ...
      var check_ws_loaded_interval:int = setInterval(function():void
      {
      if(nps_webservice.loaded())

      { clearInterval(check_ws_loaded_interval); onWebServiceLoaded(); }

      },100);
      }

      private function onWebServiceLoaded():void

      { ShowLoginScreen(); }

      Actual Results: Around 30 seconds later serviceControl returns ready and we display login

      Expected Results: Web Service proxy should not require additional introspection after proxy generation

      Workaround (if any): None

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: