Using Perl SOAP::Lite

Unlike most other SOAP APIs, Perl’s SOAP::Lite does not take regard of the WSDL specification for the Control API interface. Special measures must be taken to use the Control API accurately.

Control API Methods

A method can be invoked from a SOAP::Lite connection object that specifies the appropriate interface:

# Create a connection object that uses the VirtualServer interface

my $conn = SOAP::Lite

-> ns('http://soap.zeus.com/zxtm/1.0/VirtualServer/')

-> proxy("$admin_server/soap");

 

# You can invoke any of the methods of the VirtualServer interface

my $res = $conn->getVirtualServerNames();

If you need to use several interfaces (for example, VirtualServer and Pool), construct a SOAP::Lite connection object for each one.

If you attempt to invoke a method that does not exist for the interface, the method call fails and the on_fault fault handler (if specified) is called.

When a new version of the Traffic Manager is released, individual interfaces might be changed in some way that alters their use or behavior. This could be in order to fix a bug or to provide additional functionality. If this situation occurs, instead of amending the existing interface, a new later version-numbered interface is included with the release (which Ivanti recommends the use of). However, previous versions are always preserved to ensure backwards compatibility with your existing applications. The interface version is identified in the “ns” string provided to the connection object, and the function reference listing contained in this document always refers to the latest version available.