Connect to the service using the connect( address ) function from the BAMConnection package.
Refer to the following example:
## connect to Address Manager $service = BAMConnection->connect( "address" => 'ipAddress' ); # use "enableSSL" flag if using SSL # $service = BAMConnection->connect("address" => 'ipAddress', "enableSSL" => 'true' );
Deprecated the Service package
The use of the Service package has been deprecated. Use the BAMConnection package instead.
Deprecated Service package
example:
## connect to Address Manager $service = Service->connect( "address" => 'ipAddress' ); # use "enableSSL" flag if using SSL # $service = Service->connect("address" => 'ipAddress', "enableSSL" => 'true' );