jsoap/classes/jWSDL.php
private function _updateWSDL(){

        static $updated = FALSE;

        if($updated){
            return;
        }

        $mustCompile = jApp::config()->compilation['force'] || !file_exists($this->_cachePath);
        if(jApp::config()->compilation['checkCacheFiletime'] && !$mustCompile){
            if( filemtime($this->_ctrlpath) > filemtime($this->_cachePath)){
                $mustCompile = true;
            }
        }

        if($mustCompile){
            jFile::write($this->_cachePath, $this->_compile());
        }
        $updated = TRUE;
    }
private function _updateWSDL(){

        static $updated = FALSE;

        if($updated){
            return;
        }

        $mustCompile = jApp::config()->compilation['force'] || !file_exists($this->_cachePath);
        if(jApp::config()->compilation['checkCacheFiletime'] && !$mustCompile){
            if( filemtime($this->_ctrlpath) > filemtime($this->_cachePath)){
                $mustCompile = true;
            }
        }

        if($mustCompile){
            jFile::write($this->_cachePath, $this->_compile());
        }
        $updated = TRUE;
    }
Update the WSDL cache file