What does the 'use_prefix has been deprecated' error mean (ZXTM Control API)

You may encounter the following error in your Perl ZXTM Control API scripts:

use_prefix has been deprecated. if you wish to turn off or on 
the use of a default namespace, then please use either ns(uri)
or default_ns(uri) at /usr/share/perl5/SOAP/Lite.pm line 858

The SOAP::Lite perl interface changed on version 0.65_5. Earlier perl code samples used the 'URI' method, but this has now been deprecated.

If you are using a recent SOAP:Lite toolkit, use the 'ns' method instead of the 'uri':

my $conn = SOAP::Lite
   -> ns('http://soap.zeus.com/zxtm/1.0/VirtualServer/')
   -> proxy("$admin_server/soap");

The following document: uri and use_prefix deprecated in next release describes the change in more detail.

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