/** * Determine if the cache is different from the current version of your webservice handler class. * Status: Untested * * @return boolean Differences detected? */ public function IsCacheDifferent() { self::Debug('Determine if the cache is different from this instance'); // Load the cache $temp = new PhpWsdl(null, $this->EndPoint); $temp->GetWsdlFromCache(); if (is_null($temp->WSDL)) { return true; } // Not cached yet // Initialize this instance $this->DetermineConfiguration(); $this->ParseSource(); // Compare the cache with this instance $res = serialize(array($this->Methods, $this->Types)) != serialize(array($temp->Methods, $temp->Types)); self::Debug('Cache is ' . ($res ? 'equal' : 'different')); return $res; }