         return url.replace('/rest/services', '/rest/info');
     }
 
-    private function startBuildingDirectory(serviceDirectoryBuildRequest:ServiceDirectoryBuildRequest):void
+    private function startBuildingDirectory():void
     {
         if (Log.isInfo())
         {

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

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

            crossDomainRequest = null;
            hasCrossDomain = false;

            checkIfServiceIsSecure();
        }
    }

