Initial import of Net-Prizm release
authorjeff <jeff>
Fri, 14 Mar 2008 04:38:48 +0000 (04:38 +0000)
committerjeff <jeff>
Fri, 14 Mar 2008 04:38:48 +0000 (04:38 +0000)
Changes [new file with mode: 0644]
MANIFEST [new file with mode: 0644]
META.yml [new file with mode: 0644]
Makefile.PL [new file with mode: 0644]
README [new file with mode: 0644]
lib/Net/Prizm.pm [new file with mode: 0644]
lib/Net/Prizm/wsdls/CustomerIfService.wsdl [new file with mode: 0644]
lib/Net/Prizm/wsdls/LogEventIfService.wsdl [new file with mode: 0644]
lib/Net/Prizm/wsdls/NetworkIfService.wsdl [new file with mode: 0644]
t/Net-Prizm.t [new file with mode: 0644]

diff --git a/Changes b/Changes
new file mode 100644 (file)
index 0000000..c14ee27
--- /dev/null
+++ b/Changes
@@ -0,0 +1,15 @@
+
+Revision history for Perl extension Net::Prizm
+
+0.04 Thu Mar 13 20:15:38 EDT 2008
+       -require SOAP::Ltie 0.71 to avoid conflicts with UNIVERSAL::require
+
+0.03 Tue Feb 20 21:41:46 EST 2007
+       -corrected bad encoding (failure to use html entities when required)
+        of customer_info
+
+0.02 Fri Dec 29 11:52:40 EST 2006
+       -updated to use SOAP::Lite 0.69
+
+0.01 Tue Dec 26 23:35:00 EST 2006
+       -original version; created by jeff
diff --git a/MANIFEST b/MANIFEST
new file mode 100644 (file)
index 0000000..c751ca5
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,10 @@
+Changes
+Makefile.PL
+MANIFEST
+README
+lib/Net/Prizm.pm
+lib/Net/Prizm/wsdls/CustomerIfService.wsdl
+lib/Net/Prizm/wsdls/LogEventIfService.wsdl
+lib/Net/Prizm/wsdls/NetworkIfService.wsdl
+t/Net-Prizm.t
+META.yml                                 Module meta-data (added by MakeMaker)
diff --git a/META.yml b/META.yml
new file mode 100644 (file)
index 0000000..181611b
--- /dev/null
+++ b/META.yml
@@ -0,0 +1,11 @@
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         Net-Prizm
+version:      0.03
+version_from: lib/Net/Prizm.pm
+installdirs:  site
+requires:
+    SOAP::Lite:                    0.69
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.17
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..73074f6
--- /dev/null
@@ -0,0 +1,10 @@
+use ExtUtils::MakeMaker;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+    'NAME'         => 'Net::Prizm',
+    'ABSTRACT_FROM' => 'lib/Net/Prizm.pm',
+    'AUTHOR'        => 'Jeff Finucane <jeff-net-prizm@weasellips.com>',
+    'VERSION_FROM'  => 'lib/Net/Prizm.pm', # finds $VERSION
+    'PREREQ_PM'     => { SOAP::Lite => 0.71 },
+);
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..01bd3a3
--- /dev/null
+++ b/README
@@ -0,0 +1,33 @@
+Net-Prizm version 0.04
+====================
+
+THis module implements a client to Motorola's Canopy Prizm Northbound
+SOAP interface enabling a perl application to talk to a Prizm server.
+
+This module is not sponsored or endorsed by Motorola.
+
+INSTALLATION
+
+To install this module type the following:
+
+   perl Makefile.PL
+   make
+   make test
+   make install
+
+DEPENDENCIES
+
+This module requires these other modules and libraries:
+
+  SOAP::Lite
+  Prizm WSDL files supplied by Motorola
+
+COPYRIGHT AND LICENCE
+
+Copyright (C) 2006 Jeff Finucane
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+Motorola Inc. reserves all rights on its WSDL files.
+
diff --git a/lib/Net/Prizm.pm b/lib/Net/Prizm.pm
new file mode 100644 (file)
index 0000000..b2f109d
--- /dev/null
@@ -0,0 +1,260 @@
+package Net::Prizm;
+
+use strict;
+use vars qw($DEBUG $VERSION @uris %services $AUTOLOAD %schemas);
+use SOAP::Lite;
+
+$VERSION = '0.04';
+
+$DEBUG = 0;
+
+@uris = qw(CustomerIfService NetworkIfService LogEventIfService);
+
+=head1 NAME
+
+Net::Prizm - Perl client interface to Motorola Canopy Prizm
+
+=head1 SYNOPSIS
+
+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";
+}
+=head1 DESCRIPTION
+
+Net::Prizm is a module implementing a Perl interface to Motorola's Canopy
+Prizm SOAP interface.  It is compatible with version 2.1 of that software
+and requires the WSDL from Motorola.
+
+Net::Prizm enables you to simply access the SOAP interface of your Prizm
+server.  
+
+=head1 BASIC USAGE
+
+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 
+    
+=cut
+
+sub import {
+  my $class = shift;
+  my @classes = @_;
+  my $me = __PACKAGE__;
+  my (%EXPORT_OK) = map { $_ => 1 } qw( CustomerInfo LogEventInfo PrizmElement
+                                        ClientDevice ConfigurationTemplate
+                                        ElementLinkInfo Network 
+                                        PerformanceData );
+
+  foreach $class (grep { exists( $EXPORT_OK{$_} )
+                         or die "$_ is not exported by module $me"
+                       } @classes) {
+    no strict 'refs';
+
+    *{"$class\::NEW"} = sub {
+                         my $proto = shift;
+                         my $class = ref($proto) || $proto;
+                         my $self = { @_ };
+                         return bless($self, $class);
+                       };
+    *{"$class\::AUTOLOAD"} = sub {
+                              my $field = $AUTOLOAD;
+                              $field =~ s/.*://;
+                              return if $field eq 'DESTROY';
+                              if ( defined($_[1]) ) {
+                                $_[0]->{$field} = $_[1];
+                              } else {
+                                $_[0]->{$field};
+                              }
+                            };
+  }
+
+  $me =~ s/::/\//g;
+  $INC{"$me.pm"} =~ /^(.*)\.pm$/;
+  $me = $1;
+  for (@uris){
+    $schemas{$_} = SOAP::Schema
+      ->schema_url("file:$me/wsdls/$_.wsdl")
+      ->parse->services->{$_};
+  }
+
+}
+
+=head1 CONSTRUCTOR
+
+=over 4
+
+=item 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.
+
+=cut 
+
+sub new {
+  my $proto = shift;
+  my $class = ref($proto) || $proto;
+  my $self = { @_ };
+  return bless($self, $class);
+}
+
+=head1 METHODS
+
+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.
+
+=cut 
+
+sub AUTOLOAD {
+  my $self = shift;   #hmmm... test this?
+
+  my $method = $AUTOLOAD;
+  $method =~ s/.*://;
+  return if $method eq 'DESTROY';
+
+  my $soap = SOAP::Lite
+    -> autotype(0)
+    -> readable(1)
+    -> uri($self->{namespace})
+    -> proxy($self->{url});
+  
+  local *SOAP::Transport::HTTP::Client::get_basic_credentials = sub {
+    return $self->{user} => $self->{password};
+  };
+
+  local *SOAP::Serializer::as_ArrayOf_xsd_string = sub {
+    my ($self, $value, $name, $type, $attr) = @_;
+
+    $name ||= $self->gen_name;
+    $self->encode_object(\SOAP::Data->value(
+      SOAP::Data->name('string' => @{$value})->type('string')
+      ), $name, $type);
+
+  };
+
+  local *SOAP::Serializer::as_ArrayOf_xsd_int = sub {
+    my ($self, $value, $name, $type, $attr) = @_;
+
+    $name ||= $self->gen_name;
+    $self->encode_object(\SOAP::Data->value(
+      SOAP::Data->name('int' => @{$value})->type('int')
+    ), $name, $type);
+  };
+
+  local *SOAP::Serializer::as_CustomerInfo = sub {
+    my ($self, $value, $name, $type, $attr) = @_;
+
+    my $schema = {
+           'importId'         => 'string',
+           'customerId'       => 'int',
+           'customerName'     => 'string',
+           'customerType'     => 'string',
+           'address1'         => 'string',
+           'address2'         => 'string',
+           'city'             => 'string',
+           'state'            => 'string',
+           'zipCode'          => 'string',
+           'workPhone'        => 'string',
+           'homePhone'        => 'string',
+           'mobilePhone'      => 'string',
+           'pager'            => 'string',
+           'email'            => 'string',
+           'extraFieldNames'  => 'impl:ArrayOf_xsd_string',
+           'extraFieldValues' => 'impl:ArrayOf_xsd_string',
+           'elementIds'       => 'impl:ArrayOf_xsd_int',
+    };
+
+    my (@result) = ();
+    foreach my $key (keys %$value){
+      my $to_encode = $value->{$key};
+      push @result, SOAP::Data->name($key => $to_encode)->type($schema->{$key});
+    }
+
+    return $self->encode_object(\SOAP::Data->value(
+      SOAP::Data->name($name => @result)), $name, 
+                                 $type,
+                                 {'xsi:type' => 'impl:CustomerInfo', %$attr});
+  };
+
+  my $param = 0;
+  my $som =
+    $soap->$method( map {
+      my $paramdata =
+        $schemas{$self->{namespace}}{$method}{'parameters'}[$param++];
+      SOAP::Data->name($paramdata->name => $_ )
+        ->type(${[SOAP::Utils::splitqname($paramdata->type)]}[1]) } @_
+    );
+
+  if ($som) {
+    if ($som->fault){
+      return $som->faultstring;
+    }else{
+      return $som;
+    }
+  }
+
+  "Net::Prizm failed to $method for $self->{namespace} at " . $self->{url};
+}
+
+
+=back
+
+=head1 SEE ALSO
+
+  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.
+
+=head1 BUGS
+
+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.
+
+=head1 AUTHOR AND COPYRIGHT
+
+Copyright (c) 2006 Jeff Finucane jeff-net-prizm@weasellips.com
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+WDSL files copyright Motorola Inc. which reserves all rights.  
+
+This software is neither authorized, sponsored, endorsed, nor supported
+by Motorola Inc.
+
+=cut
+
+1;
diff --git a/lib/Net/Prizm/wsdls/CustomerIfService.wsdl b/lib/Net/Prizm/wsdls/CustomerIfService.wsdl
new file mode 100644 (file)
index 0000000..67e908a
--- /dev/null
@@ -0,0 +1,459 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<wsdl:definitions targetNamespace="urn:customer" xmlns:impl="urn:customer" xmlns:intf="urn:customer" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">\r
+<!--WSDL created by Apache Axis version: 1.4\r
+Built on Apr 22, 2006 (06:55:48 PDT)-->\r
+ <wsdl:types>\r
+  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:customer">\r
+   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>\r
+   <complexType name="ArrayOf_xsd_int">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="ArrayOf_xsd_string">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="CustomerInfo">\r
+    <sequence>\r
+     <element name="address1" nillable="true" type="xsd:string"/>\r
+     <element name="address2" nillable="true" type="xsd:string"/>\r
+     <element name="city" nillable="true" type="xsd:string"/>\r
+     <element name="customerId" type="xsd:int"/>\r
+     <element name="customerName" nillable="true" type="xsd:string"/>\r
+     <element name="customerType" nillable="true" type="xsd:string"/>\r
+     <element name="elementIds" nillable="true" type="impl:ArrayOf_xsd_int"/>\r
+     <element name="email" nillable="true" type="xsd:string"/>\r
+     <element name="extraFieldNames" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="extraFieldValues" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="homePhone" nillable="true" type="xsd:string"/>\r
+     <element name="importId" nillable="true" type="xsd:string"/>\r
+     <element name="mobilePhone" nillable="true" type="xsd:string"/>\r
+     <element name="pager" nillable="true" type="xsd:string"/>\r
+     <element name="state" nillable="true" type="xsd:string"/>\r
+     <element name="workPhone" nillable="true" type="xsd:string"/>\r
+     <element name="zipCode" nillable="true" type="xsd:string"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfCustomerInfo">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:CustomerInfo[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+  </schema>\r
+ </wsdl:types>\r
+\r
+   <wsdl:message name="getCustomerByIdResponse">\r
+\r
+      <wsdl:part name="getCustomerByIdReturn" type="impl:CustomerInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getSearchFieldsRequest">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="updateCustomerResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="deleteCustomerResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addCustomerRequest">\r
+\r
+      <wsdl:part name="customer" type="impl:CustomerInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="removeElementFromCustomerRequest">\r
+\r
+      <wsdl:part name="customerId" type="xsd:int"/>\r
+\r
+      <wsdl:part name="import_id" type="xsd:string"/>\r
+\r
+      <wsdl:part name="elementId" type="xsd:int"/>\r
+\r
+      <wsdl:part name="macAddress" type="xsd:string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getAllCustomersRequest">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addElementToCustomerRequest">\r
+\r
+      <wsdl:part name="customerId" type="xsd:int"/>\r
+\r
+      <wsdl:part name="import_id" type="xsd:string"/>\r
+\r
+      <wsdl:part name="elementId" type="xsd:int"/>\r
+\r
+      <wsdl:part name="macAddress" type="xsd:string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getCustomersResponse">\r
+\r
+      <wsdl:part name="getCustomersReturn" type="impl:ArrayOfCustomerInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addElementToCustomerResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="importCustomerResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="updateCustomerRequest">\r
+\r
+      <wsdl:part name="customer" type="impl:CustomerInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getCustomersRequest">\r
+\r
+      <wsdl:part name="fieldNames" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="fieldValues" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="operators" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getCustomerByIdRequest">\r
+\r
+      <wsdl:part name="id" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="importCustomerRequest">\r
+\r
+      <wsdl:part name="columnHeaders" type="xsd:string"/>\r
+\r
+      <wsdl:part name="values" type="xsd:string"/>\r
+\r
+      <wsdl:part name="delimiter" type="xsd:string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getAllCustomersResponse">\r
+\r
+      <wsdl:part name="getAllCustomersReturn" type="impl:ArrayOfCustomerInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addCustomerResponse">\r
+\r
+      <wsdl:part name="addCustomerReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="removeElementFromCustomerResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getSearchFieldsResponse">\r
+\r
+      <wsdl:part name="getSearchFieldsReturn" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="deleteCustomerRequest">\r
+\r
+      <wsdl:part name="customerId" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:portType name="CustomerIf">\r
+\r
+      <wsdl:operation name="getAllCustomers">\r
+\r
+         <wsdl:input name="getAllCustomersRequest" message="impl:getAllCustomersRequest"/>\r
+\r
+         <wsdl:output name="getAllCustomersResponse" message="impl:getAllCustomersResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getSearchFields">\r
+\r
+         <wsdl:input name="getSearchFieldsRequest" message="impl:getSearchFieldsRequest"/>\r
+\r
+         <wsdl:output name="getSearchFieldsResponse" message="impl:getSearchFieldsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getCustomers" parameterOrder="fieldNames fieldValues operators">\r
+\r
+         <wsdl:input name="getCustomersRequest" message="impl:getCustomersRequest"/>\r
+\r
+         <wsdl:output name="getCustomersResponse" message="impl:getCustomersResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getCustomerById" parameterOrder="id">\r
+\r
+         <wsdl:input name="getCustomerByIdRequest" message="impl:getCustomerByIdRequest"/>\r
+\r
+         <wsdl:output name="getCustomerByIdResponse" message="impl:getCustomerByIdResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addCustomer" parameterOrder="customer">\r
+\r
+         <wsdl:input name="addCustomerRequest" message="impl:addCustomerRequest"/>\r
+\r
+         <wsdl:output name="addCustomerResponse" message="impl:addCustomerResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="updateCustomer" parameterOrder="customer">\r
+\r
+         <wsdl:input name="updateCustomerRequest" message="impl:updateCustomerRequest"/>\r
+\r
+         <wsdl:output name="updateCustomerResponse" message="impl:updateCustomerResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="deleteCustomer" parameterOrder="customerId">\r
+\r
+         <wsdl:input name="deleteCustomerRequest" message="impl:deleteCustomerRequest"/>\r
+\r
+         <wsdl:output name="deleteCustomerResponse" message="impl:deleteCustomerResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="importCustomer" parameterOrder="columnHeaders values delimiter">\r
+\r
+         <wsdl:input name="importCustomerRequest" message="impl:importCustomerRequest"/>\r
+\r
+         <wsdl:output name="importCustomerResponse" message="impl:importCustomerResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addElementToCustomer" parameterOrder="customerId import_id elementId macAddress">\r
+\r
+         <wsdl:input name="addElementToCustomerRequest" message="impl:addElementToCustomerRequest"/>\r
+\r
+         <wsdl:output name="addElementToCustomerResponse" message="impl:addElementToCustomerResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="removeElementFromCustomer" parameterOrder="customerId import_id elementId macAddress">\r
+\r
+         <wsdl:input name="removeElementFromCustomerRequest" message="impl:removeElementFromCustomerRequest"/>\r
+\r
+         <wsdl:output name="removeElementFromCustomerResponse" message="impl:removeElementFromCustomerResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+   </wsdl:portType>\r
+\r
+   <wsdl:binding name="CustomerIfServiceSoapBinding" type="impl:CustomerIf">\r
+\r
+      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>\r
+\r
+      <wsdl:operation name="getAllCustomers">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getAllCustomersRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getAllCustomersResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getSearchFields">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getSearchFieldsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getSearchFieldsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getCustomers">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getCustomersRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getCustomersResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getCustomerById">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getCustomerByIdRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getCustomerByIdResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addCustomer">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="addCustomerRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="addCustomerResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="updateCustomer">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="updateCustomerRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="updateCustomerResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="deleteCustomer">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="deleteCustomerRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="deleteCustomerResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="importCustomer">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="importCustomerRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="importCustomerResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addElementToCustomer">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="addElementToCustomerRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="addElementToCustomerResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="removeElementFromCustomer">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="removeElementFromCustomerRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="removeElementFromCustomerResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:customer"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+   </wsdl:binding>\r
+\r
+   <wsdl:service name="CustomerIfService">\r
+\r
+      <wsdl:port name="CustomerIfService" binding="impl:CustomerIfServiceSoapBinding">\r
+\r
+         <wsdlsoap:address location="http://localhost:80/prizm/nbi/CustomerIfService"/>\r
+\r
+      </wsdl:port>\r
+\r
+   </wsdl:service>\r
+\r
+</wsdl:definitions>\r
diff --git a/lib/Net/Prizm/wsdls/LogEventIfService.wsdl b/lib/Net/Prizm/wsdls/LogEventIfService.wsdl
new file mode 100644 (file)
index 0000000..b16614a
--- /dev/null
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<wsdl:definitions targetNamespace="urn:logevent" xmlns:impl="urn:logevent" xmlns:intf="urn:logevent" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">\r
+<!--WSDL created by Apache Axis version: 1.2.1\r
+Built on Jun 14, 2005 (09:15:57 EDT)-->\r
+ <wsdl:types>\r
+  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:logevent">\r
+   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>\r
+   <complexType name="LogEventInfo">\r
+    <sequence>\r
+     <element name="acknowledged" type="xsd:int"/>\r
+     <element name="alert" type="xsd:boolean"/>\r
+     <element name="elementId" type="xsd:int"/>\r
+     <element name="eventId" type="xsd:int"/>\r
+     <element name="message" nillable="true" type="xsd:string"/>\r
+     <element name="severity" type="xsd:int"/>\r
+     <element name="source" nillable="true" type="xsd:string"/>\r
+     <element name="timestamp" type="xsd:long"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfLogEventInfo">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:LogEventInfo[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+  </schema>\r
+ </wsdl:types>\r
+\r
+   <wsdl:message name="ackAlertResponse">\r
+\r
+      <wsdl:part name="ackAlertReturn" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="ackAlertRequest">\r
+\r
+      <wsdl:part name="eventId" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="clrAlertRequest">\r
+\r
+      <wsdl:part name="eventId" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="clrAlertResponse">\r
+\r
+      <wsdl:part name="clrAlertReturn" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getLogEventsRequest">\r
+\r
+      <wsdl:part name="severity" type="xsd:int"/>\r
+\r
+      <wsdl:part name="includingHigherSeverity" type="xsd:boolean"/>\r
+\r
+      <wsdl:part name="startTime" type="xsd:long"/>\r
+\r
+      <wsdl:part name="endTime" type="xsd:long"/>\r
+\r
+      <wsdl:part name="acknowledgeStatus" type="xsd:int"/>\r
+\r
+      <wsdl:part name="eventType" type="xsd:int"/>\r
+\r
+      <wsdl:part name="elementId" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getEventByIdRequest">\r
+\r
+      <wsdl:part name="id" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getLogEventsResponse">\r
+\r
+      <wsdl:part name="getLogEventsReturn" type="impl:ArrayOfLogEventInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getEventByIdResponse">\r
+\r
+      <wsdl:part name="getEventByIdReturn" type="impl:LogEventInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:portType name="LogEventIf">\r
+\r
+      <wsdl:operation name="getEventById" parameterOrder="id">\r
+\r
+         <wsdl:input name="getEventByIdRequest" message="impl:getEventByIdRequest"/>\r
+\r
+         <wsdl:output name="getEventByIdResponse" message="impl:getEventByIdResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getLogEvents" parameterOrder="severity includingHigherSeverity startTime endTime acknowledgeStatus eventType elementId">\r
+\r
+         <wsdl:input name="getLogEventsRequest" message="impl:getLogEventsRequest"/>\r
+\r
+         <wsdl:output name="getLogEventsResponse" message="impl:getLogEventsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="ackAlert" parameterOrder="eventId">\r
+\r
+         <wsdl:input name="ackAlertRequest" message="impl:ackAlertRequest"/>\r
+\r
+         <wsdl:output name="ackAlertResponse" message="impl:ackAlertResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="clrAlert" parameterOrder="eventId">\r
+\r
+         <wsdl:input name="clrAlertRequest" message="impl:clrAlertRequest"/>\r
+\r
+         <wsdl:output name="clrAlertResponse" message="impl:clrAlertResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+   </wsdl:portType>\r
+\r
+   <wsdl:binding name="LogEventIfServiceSoapBinding" type="impl:LogEventIf">\r
+\r
+      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>\r
+\r
+      <wsdl:operation name="getEventById">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getEventByIdRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getEventByIdResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getLogEvents">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getLogEventsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getLogEventsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="ackAlert">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="ackAlertRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="ackAlertResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="clrAlert">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="clrAlertRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="clrAlertResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:logevent"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+   </wsdl:binding>\r
+\r
+   <wsdl:service name="LogEventIfService">\r
+\r
+      <wsdl:port name="LogEventIfService" binding="impl:LogEventIfServiceSoapBinding">\r
+\r
+         <wsdlsoap:address location="http://localhost:80/prizm/nbi/LogEventIfService"/>\r
+\r
+      </wsdl:port>\r
+\r
+   </wsdl:service>\r
+\r
+</wsdl:definitions>\r
diff --git a/lib/Net/Prizm/wsdls/NetworkIfService.wsdl b/lib/Net/Prizm/wsdls/NetworkIfService.wsdl
new file mode 100644 (file)
index 0000000..69e0291
--- /dev/null
@@ -0,0 +1,1096 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<wsdl:definitions targetNamespace="urn:network" xmlns:impl="urn:network" xmlns:intf="urn:network" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">\r
+<!--WSDL created by Apache Axis version: 1.4\r
+Built on Apr 22, 2006 (06:55:48 PDT)-->\r
+ <wsdl:types>\r
+  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:network">\r
+   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>\r
+   <complexType name="ArrayOf_xsd_string">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="ArrayOf_xsd_double">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:double[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="PrizmElement">\r
+    <sequence>\r
+     <element name="accessMode" type="xsd:int"/>\r
+     <element name="attributeNames" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="attributeValues" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="description" nillable="true" type="xsd:string"/>\r
+     <element name="elementId" type="xsd:int"/>\r
+     <element name="elementName" nillable="true" type="xsd:string"/>\r
+     <element name="elementType" nillable="true" type="xsd:string"/>\r
+     <element name="elementTypeName" nillable="true" type="xsd:string"/>\r
+     <element name="managementMode" type="xsd:int"/>\r
+     <element name="networkId" nillable="true" type="xsd:string"/>\r
+     <element name="root" type="xsd:boolean"/>\r
+     <element name="statsNames" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="statsValues" nillable="true" type="impl:ArrayOf_xsd_double"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ElementLinkInfo">\r
+    <sequence>\r
+     <element name="linkDirection" type="xsd:int"/>\r
+     <element name="linkType" type="xsd:int"/>\r
+     <element name="linkedElementID" type="xsd:int"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfElementLinkInfo">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ElementLinkInfo[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="ArrayOfPrizmElement">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:PrizmElement[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="ClientDevice">\r
+    <sequence>\r
+     <element name="firstSeenTime" type="xsd:long"/>\r
+     <element name="ipAddress" nillable="true" type="xsd:string"/>\r
+     <element name="lastSeenTime" type="xsd:long"/>\r
+     <element name="macAddress" nillable="true" type="xsd:string"/>\r
+     <element name="source" nillable="true" type="xsd:string"/>\r
+     <element name="sourceType" nillable="true" type="xsd:string"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfClientDevice">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ClientDevice[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="PerformanceData">\r
+    <sequence>\r
+     <element name="average" type="xsd:double"/>\r
+     <element name="max" type="xsd:double"/>\r
+     <element name="min" type="xsd:double"/>\r
+     <element name="name" nillable="true" type="xsd:string"/>\r
+     <element name="total" type="xsd:double"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfPerformanceData">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:PerformanceData[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="ArrayOf_xsd_int">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="Network">\r
+    <sequence>\r
+     <element name="description" nillable="true" type="xsd:string"/>\r
+     <element name="id" type="xsd:int"/>\r
+     <element name="name" nillable="true" type="xsd:string"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfNetwork">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Network[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+   <complexType name="ConfigurationTemplate">\r
+    <sequence>\r
+     <element name="attributeNames" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="attributeValues" nillable="true" type="impl:ArrayOf_xsd_string"/>\r
+     <element name="category" nillable="true" type="xsd:string"/>\r
+     <element name="id" type="xsd:int"/>\r
+     <element name="name" nillable="true" type="xsd:string"/>\r
+     <element name="typeID" nillable="true" type="xsd:string"/>\r
+    </sequence>\r
+   </complexType>\r
+   <complexType name="ArrayOfConfigurationTemplate">\r
+    <complexContent>\r
+     <restriction base="soapenc:Array">\r
+      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ConfigurationTemplate[]"/>\r
+     </restriction>\r
+    </complexContent>\r
+   </complexType>\r
+  </schema>\r
+ </wsdl:types>\r
+\r
+   <wsdl:message name="searchClientDeviceByMacRequest">\r
+\r
+      <wsdl:part name="macpattern" type="xsd:string"/>\r
+\r
+      <wsdl:part name="includePrizmElement" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getSupportedConfigurationTypeIDsRequest">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="searchClientDeviceByIpRequest">\r
+\r
+      <wsdl:part name="ippattern" type="xsd:string"/>\r
+\r
+      <wsdl:part name="includePrizmElement" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="activateNetworkElementsRequest">\r
+\r
+      <wsdl:part name="elementIDs" type="impl:ArrayOf_xsd_int"/>\r
+\r
+      <wsdl:part name="configMode" type="xsd:int"/>\r
+\r
+      <wsdl:part name="actionType" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getLinkTableForElementRequest">\r
+\r
+      <wsdl:part name="elementId" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getElementPerformanceDataRequest">\r
+\r
+      <wsdl:part name="elementId" type="xsd:int"/>\r
+\r
+      <wsdl:part name="startTime" type="xsd:long"/>\r
+\r
+      <wsdl:part name="endTime" type="xsd:long"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="activateNetworkElementsResponse">\r
+\r
+      <wsdl:part name="activateNetworkElementsReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getPrizmElementByIdRequest">\r
+\r
+      <wsdl:part name="id" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="searchClientDeviceByMacResponse">\r
+\r
+      <wsdl:part name="searchClientDeviceByMacReturn" type="impl:ArrayOfClientDevice"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getPrizmElementsResponse">\r
+\r
+      <wsdl:part name="getPrizmElementsReturn" type="impl:ArrayOfPrizmElement"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addCustomConfigurationResponse">\r
+\r
+      <wsdl:part name="addCustomConfigurationReturn" type="impl:ConfigurationTemplate"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="updateConfigurationResponse">\r
+\r
+      <wsdl:part name="updateConfigurationReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getElementPerformanceDataResponse">\r
+\r
+      <wsdl:part name="getElementPerformanceDataReturn" type="impl:ArrayOfPerformanceData"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="deleteElementResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addProvisionedElementResponse">\r
+\r
+      <wsdl:part name="addProvisionedElementReturn" type="impl:PrizmElement"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="deleteConfigurationRequest">\r
+\r
+      <wsdl:part name="iID" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="setElementConfigSetResponse">\r
+\r
+      <wsdl:part name="setElementConfigSetReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="setElementConfigResponse">\r
+\r
+      <wsdl:part name="setElementConfigReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="suspendNetworkElementsRequest">\r
+\r
+      <wsdl:part name="elementIDs" type="impl:ArrayOf_xsd_int"/>\r
+\r
+      <wsdl:part name="configMode" type="xsd:int"/>\r
+\r
+      <wsdl:part name="actionType" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="searchClientDeviceByIpResponse">\r
+\r
+      <wsdl:part name="searchClientDeviceByIpReturn" type="impl:ArrayOfClientDevice"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getNetworksRequest">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="setElementConfigSetRequest">\r
+\r
+      <wsdl:part name="elementIds" type="impl:ArrayOf_xsd_int"/>\r
+\r
+      <wsdl:part name="configName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="rebootIfRequired" type="xsd:boolean"/>\r
+\r
+      <wsdl:part name="configMode" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getConfigurationTemplatesResponse">\r
+\r
+      <wsdl:part name="getConfigurationTemplatesReturn" type="impl:ArrayOfConfigurationTemplate"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="dropRegisteredElementSessionRequest">\r
+\r
+      <wsdl:part name="iElementID" type="xsd:int"/>\r
+\r
+      <wsdl:part name="macAddress" type="xsd:string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="deleteConfigurationResponse">\r
+\r
+      <wsdl:part name="deleteConfigurationReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getElementConfigJobStatusRequest">\r
+\r
+      <wsdl:part name="jobId" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addTypedConfigurationRequest">\r
+\r
+      <wsdl:part name="strName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="strCategory" type="xsd:string"/>\r
+\r
+      <wsdl:part name="strTypeID" type="xsd:string"/>\r
+\r
+      <wsdl:part name="parameterNames" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="parameterValues" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="setElementConfigRequest">\r
+\r
+      <wsdl:part name="elementIds" type="impl:ArrayOf_xsd_int"/>\r
+\r
+      <wsdl:part name="parameterNames" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="parameterValues" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="rebootIfRequired" type="xsd:boolean"/>\r
+\r
+      <wsdl:part name="configMode" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getNetworksResponse">\r
+\r
+      <wsdl:part name="getNetworksReturn" type="impl:ArrayOfNetwork"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getPrizmElementsRequest">\r
+\r
+      <wsdl:part name="fieldNames" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="fieldValues" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="operators" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getPrizmElementByIdResponse">\r
+\r
+      <wsdl:part name="getPrizmElementByIdReturn" type="impl:PrizmElement"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="deleteElementRequest">\r
+\r
+      <wsdl:part name="elementId" type="xsd:int"/>\r
+\r
+      <wsdl:part name="child2Root" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getPrizmElementSearchFieldsResponse">\r
+\r
+      <wsdl:part name="getPrizmElementSearchFieldsReturn" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getPrizmElementSearchFieldsRequest">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="rebootElementsRequest">\r
+\r
+      <wsdl:part name="elementIds" type="impl:ArrayOf_xsd_int"/>\r
+\r
+      <wsdl:part name="configMode" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="dropRegisteredElementSessionResponse">\r
+\r
+      <wsdl:part name="dropRegisteredElementSessionReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getSupportedConfigurationTypeIDsResponse">\r
+\r
+      <wsdl:part name="getSupportedConfigurationTypeIDsReturn" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getLinkTableForElementResponse">\r
+\r
+      <wsdl:part name="getLinkTableForElementReturn" type="impl:ArrayOfElementLinkInfo"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getElementConfigJobStatusResponse">\r
+\r
+      <wsdl:part name="getElementConfigJobStatusReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="updateConfigurationRequest">\r
+\r
+      <wsdl:part name="id" type="xsd:int"/>\r
+\r
+      <wsdl:part name="strNewName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="strCategory" type="xsd:string"/>\r
+\r
+      <wsdl:part name="parameterNames" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="parameterValues" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="bOkToReboot" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="suspendNetworkElementsResponse">\r
+\r
+      <wsdl:part name="suspendNetworkElementsReturn" type="xsd:int"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="rebootElementsResponse">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addCustomConfigurationRequest">\r
+\r
+      <wsdl:part name="strName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="strCategory" type="xsd:string"/>\r
+\r
+      <wsdl:part name="parameterNames" type="impl:ArrayOf_xsd_string"/>\r
+\r
+      <wsdl:part name="parameterValues" type="impl:ArrayOf_xsd_string"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addTypedConfigurationResponse">\r
+\r
+      <wsdl:part name="addTypedConfigurationReturn" type="impl:ConfigurationTemplate"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="getConfigurationTemplatesRequest">\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:message name="addProvisionedElementRequest">\r
+\r
+      <wsdl:part name="iNetworkID" type="xsd:int"/>\r
+\r
+      <wsdl:part name="mac" type="xsd:string"/>\r
+\r
+      <wsdl:part name="siteName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="siteLocation" type="xsd:string"/>\r
+\r
+      <wsdl:part name="siteContact" type="xsd:string"/>\r
+\r
+      <wsdl:part name="authKeys" type="xsd:string"/>\r
+\r
+      <wsdl:part name="servicePlanName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="vlanProfileName" type="xsd:string"/>\r
+\r
+      <wsdl:part name="bAddFullManagement" type="xsd:boolean"/>\r
+\r
+   </wsdl:message>\r
+\r
+   <wsdl:portType name="NetworkIf">\r
+\r
+      <wsdl:operation name="updateConfiguration" parameterOrder="id strNewName strCategory parameterNames parameterValues bOkToReboot">\r
+\r
+         <wsdl:input name="updateConfigurationRequest" message="impl:updateConfigurationRequest"/>\r
+\r
+         <wsdl:output name="updateConfigurationResponse" message="impl:updateConfigurationResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getPrizmElementById" parameterOrder="id">\r
+\r
+         <wsdl:input name="getPrizmElementByIdRequest" message="impl:getPrizmElementByIdRequest"/>\r
+\r
+         <wsdl:output name="getPrizmElementByIdResponse" message="impl:getPrizmElementByIdResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getLinkTableForElement" parameterOrder="elementId">\r
+\r
+         <wsdl:input name="getLinkTableForElementRequest" message="impl:getLinkTableForElementRequest"/>\r
+\r
+         <wsdl:output name="getLinkTableForElementResponse" message="impl:getLinkTableForElementResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getPrizmElementSearchFields">\r
+\r
+         <wsdl:input name="getPrizmElementSearchFieldsRequest" message="impl:getPrizmElementSearchFieldsRequest"/>\r
+\r
+         <wsdl:output name="getPrizmElementSearchFieldsResponse" message="impl:getPrizmElementSearchFieldsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getPrizmElements" parameterOrder="fieldNames fieldValues operators">\r
+\r
+         <wsdl:input name="getPrizmElementsRequest" message="impl:getPrizmElementsRequest"/>\r
+\r
+         <wsdl:output name="getPrizmElementsResponse" message="impl:getPrizmElementsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="searchClientDeviceByIp" parameterOrder="ippattern includePrizmElement">\r
+\r
+         <wsdl:input name="searchClientDeviceByIpRequest" message="impl:searchClientDeviceByIpRequest"/>\r
+\r
+         <wsdl:output name="searchClientDeviceByIpResponse" message="impl:searchClientDeviceByIpResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="searchClientDeviceByMac" parameterOrder="macpattern includePrizmElement">\r
+\r
+         <wsdl:input name="searchClientDeviceByMacRequest" message="impl:searchClientDeviceByMacRequest"/>\r
+\r
+         <wsdl:output name="searchClientDeviceByMacResponse" message="impl:searchClientDeviceByMacResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getElementPerformanceData" parameterOrder="elementId startTime endTime">\r
+\r
+         <wsdl:input name="getElementPerformanceDataRequest" message="impl:getElementPerformanceDataRequest"/>\r
+\r
+         <wsdl:output name="getElementPerformanceDataResponse" message="impl:getElementPerformanceDataResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="setElementConfig" parameterOrder="elementIds parameterNames parameterValues rebootIfRequired configMode">\r
+\r
+         <wsdl:input name="setElementConfigRequest" message="impl:setElementConfigRequest"/>\r
+\r
+         <wsdl:output name="setElementConfigResponse" message="impl:setElementConfigResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getElementConfigJobStatus" parameterOrder="jobId">\r
+\r
+         <wsdl:input name="getElementConfigJobStatusRequest" message="impl:getElementConfigJobStatusRequest"/>\r
+\r
+         <wsdl:output name="getElementConfigJobStatusResponse" message="impl:getElementConfigJobStatusResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="rebootElements" parameterOrder="elementIds configMode">\r
+\r
+         <wsdl:input name="rebootElementsRequest" message="impl:rebootElementsRequest"/>\r
+\r
+         <wsdl:output name="rebootElementsResponse" message="impl:rebootElementsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="activateNetworkElements" parameterOrder="elementIDs configMode actionType">\r
+\r
+         <wsdl:input name="activateNetworkElementsRequest" message="impl:activateNetworkElementsRequest"/>\r
+\r
+         <wsdl:output name="activateNetworkElementsResponse" message="impl:activateNetworkElementsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="suspendNetworkElements" parameterOrder="elementIDs configMode actionType">\r
+\r
+         <wsdl:input name="suspendNetworkElementsRequest" message="impl:suspendNetworkElementsRequest"/>\r
+\r
+         <wsdl:output name="suspendNetworkElementsResponse" message="impl:suspendNetworkElementsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="setElementConfigSet" parameterOrder="elementIds configName rebootIfRequired configMode">\r
+\r
+         <wsdl:input name="setElementConfigSetRequest" message="impl:setElementConfigSetRequest"/>\r
+\r
+         <wsdl:output name="setElementConfigSetResponse" message="impl:setElementConfigSetResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="dropRegisteredElementSession" parameterOrder="iElementID macAddress">\r
+\r
+         <wsdl:input name="dropRegisteredElementSessionRequest" message="impl:dropRegisteredElementSessionRequest"/>\r
+\r
+         <wsdl:output name="dropRegisteredElementSessionResponse" message="impl:dropRegisteredElementSessionResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getNetworks">\r
+\r
+         <wsdl:input name="getNetworksRequest" message="impl:getNetworksRequest"/>\r
+\r
+         <wsdl:output name="getNetworksResponse" message="impl:getNetworksResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addProvisionedElement" parameterOrder="iNetworkID mac siteName siteLocation siteContact authKeys servicePlanName vlanProfileName bAddFullManagement">\r
+\r
+         <wsdl:input name="addProvisionedElementRequest" message="impl:addProvisionedElementRequest"/>\r
+\r
+         <wsdl:output name="addProvisionedElementResponse" message="impl:addProvisionedElementResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="deleteElement" parameterOrder="elementId child2Root">\r
+\r
+         <wsdl:input name="deleteElementRequest" message="impl:deleteElementRequest"/>\r
+\r
+         <wsdl:output name="deleteElementResponse" message="impl:deleteElementResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getSupportedConfigurationTypeIDs">\r
+\r
+         <wsdl:input name="getSupportedConfigurationTypeIDsRequest" message="impl:getSupportedConfigurationTypeIDsRequest"/>\r
+\r
+         <wsdl:output name="getSupportedConfigurationTypeIDsResponse" message="impl:getSupportedConfigurationTypeIDsResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getConfigurationTemplates">\r
+\r
+         <wsdl:input name="getConfigurationTemplatesRequest" message="impl:getConfigurationTemplatesRequest"/>\r
+\r
+         <wsdl:output name="getConfigurationTemplatesResponse" message="impl:getConfigurationTemplatesResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addTypedConfiguration" parameterOrder="strName strCategory strTypeID parameterNames parameterValues">\r
+\r
+         <wsdl:input name="addTypedConfigurationRequest" message="impl:addTypedConfigurationRequest"/>\r
+\r
+         <wsdl:output name="addTypedConfigurationResponse" message="impl:addTypedConfigurationResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addCustomConfiguration" parameterOrder="strName strCategory parameterNames parameterValues">\r
+\r
+         <wsdl:input name="addCustomConfigurationRequest" message="impl:addCustomConfigurationRequest"/>\r
+\r
+         <wsdl:output name="addCustomConfigurationResponse" message="impl:addCustomConfigurationResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="deleteConfiguration" parameterOrder="iID">\r
+\r
+         <wsdl:input name="deleteConfigurationRequest" message="impl:deleteConfigurationRequest"/>\r
+\r
+         <wsdl:output name="deleteConfigurationResponse" message="impl:deleteConfigurationResponse"/>\r
+\r
+      </wsdl:operation>\r
+\r
+   </wsdl:portType>\r
+\r
+   <wsdl:binding name="NetworkIfServiceSoapBinding" type="impl:NetworkIf">\r
+\r
+      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>\r
+\r
+      <wsdl:operation name="updateConfiguration">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="updateConfigurationRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="updateConfigurationResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getPrizmElementById">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getPrizmElementByIdRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getPrizmElementByIdResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getLinkTableForElement">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getLinkTableForElementRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getLinkTableForElementResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getPrizmElementSearchFields">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getPrizmElementSearchFieldsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getPrizmElementSearchFieldsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getPrizmElements">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getPrizmElementsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getPrizmElementsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="searchClientDeviceByIp">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="searchClientDeviceByIpRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="searchClientDeviceByIpResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="searchClientDeviceByMac">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="searchClientDeviceByMacRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="searchClientDeviceByMacResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getElementPerformanceData">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getElementPerformanceDataRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getElementPerformanceDataResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="setElementConfig">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="setElementConfigRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="setElementConfigResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getElementConfigJobStatus">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getElementConfigJobStatusRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getElementConfigJobStatusResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="rebootElements">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="rebootElementsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="rebootElementsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="activateNetworkElements">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="activateNetworkElementsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="activateNetworkElementsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="suspendNetworkElements">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="suspendNetworkElementsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="suspendNetworkElementsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="setElementConfigSet">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="setElementConfigSetRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="setElementConfigSetResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="dropRegisteredElementSession">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="dropRegisteredElementSessionRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="dropRegisteredElementSessionResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getNetworks">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getNetworksRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getNetworksResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addProvisionedElement">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="addProvisionedElementRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="addProvisionedElementResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="deleteElement">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="deleteElementRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="deleteElementResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getSupportedConfigurationTypeIDs">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getSupportedConfigurationTypeIDsRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getSupportedConfigurationTypeIDsResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="getConfigurationTemplates">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="getConfigurationTemplatesRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="getConfigurationTemplatesResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addTypedConfiguration">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="addTypedConfigurationRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="addTypedConfigurationResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="addCustomConfiguration">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="addCustomConfigurationRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="addCustomConfigurationResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+      <wsdl:operation name="deleteConfiguration">\r
+\r
+         <wsdlsoap:operation soapAction=""/>\r
+\r
+         <wsdl:input name="deleteConfigurationRequest">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:input>\r
+\r
+         <wsdl:output name="deleteConfigurationResponse">\r
+\r
+            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:network"/>\r
+\r
+         </wsdl:output>\r
+\r
+      </wsdl:operation>\r
+\r
+   </wsdl:binding>\r
+\r
+   <wsdl:service name="NetworkIfService">\r
+\r
+      <wsdl:port name="NetworkIfService" binding="impl:NetworkIfServiceSoapBinding">\r
+\r
+         <wsdlsoap:address location="http://localhost:80/prizm/nbi/NetworkIfService"/>\r
+\r
+      </wsdl:port>\r
+\r
+   </wsdl:service>\r
+\r
+</wsdl:definitions>\r
diff --git a/t/Net-Prizm.t b/t/Net-Prizm.t
new file mode 100644 (file)
index 0000000..57c3f67
--- /dev/null
@@ -0,0 +1,19 @@
+# Before `make install' is performed this script should be runnable with
+# `make test'. After `make install' it should work as `perl Net-Prizm.t'
+
+# Not very exciting testing
+
+use Test;
+BEGIN { plan tests => 3 };
+eval "use Net::Prizm";
+ok($@ eq '');
+
+no Net::Prizm;
+eval "use Net::Prizm qw(PrizmElement)";
+ok($@ eq '');
+
+no Net::Prizm;
+eval "use Net::Prizm qw(BadClass)";
+ok($@ ne '');
+
+