     private var count:int;
     private var searchType:String;
 
+    private var serviceDirectoryBuildRequest:ServiceDirectoryBuildRequest;
     private var hasCrossDomain:Boolean;
     private var crossDomainRequest:HTTPService;
     private var credential:Credential;

            LOG.info("Building service directory");
        }

        try
        {
            checkCrossDomainBeforeBuildingDirectory(serviceDirectoryBuildRequest);
        }
        catch (error:Error)
        {

            }

            //continue with building service directory
            startBuildingDirectory();
        }

        function serviceSecurityRequest_faultHandler(fault:Fault, token:Object = null):void
        {
            //continue with building service directory
            startBuildingDirectory();
        }
    }

