Clearing ZXTM's Content Cache

The following Perl example illustrates how to invoke the System.Cache.clearWebCache() method to clear the content cache on the local ZXTM.

#!/usr/bin/perl -w

use SOAP::Lite 0.60;

# This is the url of the ZXTM admin server - CHANGE THIS
my $admin_server = 'https://admin:password@zxtmhost:9090';

my $conn = SOAP::Lite
    -> ns('http://soap.zeus.com/zxtm/1.0/System/Cache/')
    -> proxy("$admin_server/soap")
    -> on_fault( sub {
          my( $conn, $res ) = @_;
          die ref $res ? $res->faultstring : $conn->transport->status; } );
          
$conn->clearWebCache();

The System.Cache.clearWebCache() method was introduced in ZXTM version 4.1.

Owen Garrett [Zeus Dev Team] 19 September 2006  Permalink  
Leave a comment ...
Your email address will not be displayed.
Your URL will be displayed.
This public messageboard is not a forum for technical support. To report technical support problems, please contact our dedicated Support team using the instructions at the bottom of this page.
Options:
 
(Line breaks become <br />)
(Set cookies for name, email & url)
Download Free ZXTM Desktop Edition

Recent Articles

Other Resources



www.zeus.com