Net::Prizm - Perl client interface to Motorola Canopy Prizm


Net-Prizm documentation  | view source Contained in the Net-Prizm distribution.

Index


NAME

Top

Net::Prizm - Perl client interface to Motorola Canopy Prizm

SYNOPSIS

Top

use Net::Prizm; use Net::Prizm qw(CustomerInfo LogEventInfo ClientDevice ConfigurationTemplate ElementLinkInfo Network PerformanceData);

$prizm = new Net::Prizm { url => 'https://prizm.example.net:8443/prizm/nbi', namespace => 'CustomerIfService', username => 'prizmuser', password => 'associatedpassword', }

$err_or_som = $prizm->getCustomers(['import_id'], ['50'], ['<']);

if (ref($err_or_som)){ my $result = $err_or_som->result; foreach my $customer (@$result) { print $customer->contact, "\n"; } }else{ print "$err_or_som\n"; }

DESCRIPTION

Top

Net::Prizm is a module implementing a Perl interface to Motorola's Canopy Prizm SOAP interface. It is compatible with version 3.0r1 of that software and requires the WSDL from Motorola.

Net::Prizm enables you to simply access the SOAP interface of your Prizm server.

BASIC USAGE

Top

Import the Net::Prizm module with

use Net::Prizm (@list_of_classes);

Net::Prizm will create any of the following classes for you

CustomerInfo LogEventInfo PrizmElement ClientDevice ConfigurationTemplate ElementLinkInfo Network PerformanceData

CONSTRUCTOR

Top

new HASHREF

Creates a new Prizm object. HASHREF should contain the keys url, namespace, username, and password for the URL of the Prizm SOAP proxy, the namespace of the methods you would like to call, and the username and password for basic authentication.

METHODS

Top

All Prizm methods may be invoked as methods of the Net::Prizm object. The return value is either the fault string in the event of an error or a SOAP::SOM object.

SEE ALSO

Top

  SOAP::Lite, SOAP::SOM

  http://motorola.canopywireless.com/ for information about Canopy and
Prizm.

  http://www.sisd.com/freeside/ for the ISP billing and provisioning system
  which provoked the need for this module.

BUGS

Top

No explicit handling of types other than CustomerInfo. Namespace promiscuous. Lax handling of arguments and return values.

Quite probably others. Use at your own risk.

AUTHOR AND COPYRIGHT

Top


Net-Prizm documentation  | view source Contained in the Net-Prizm distribution.