The Address Manager API can be implemented in Perl. The module containing the full Perl API implementation is called API.pm.
On the workstation running Perl, locate the lib directory of your Perl installation and
create a new directory, for example, bam. Copy the API.pm
file to the lib/bam directory.
Note: Older versions of the SOAP:Lite module for
Perl may create some warnings. If this is an issue, upgrade to the latest
module
All Address Manager methods that take arguments need to use the SOAP::Data package to convert
these argument into SOAP compatible arguments. For example, to use the
login() method, the username argument should look like
this:
SOAP::Data->name ('username')-> value( $username )-> type( 'string' )-> attr({xmlns => ''})
Where:
- username
- The name of the argument (as described by the WSDL).
- value
- The value to be passed.
- type
- The SOAP type (for example, string, int, long, or base64).
- attr
- Necessary to make the SOAP message compatible with the service.