NAME

Elive::StandardV2::Connection - Manage Elluminate SOAP v2 endpoint connections.

DESCRIPTION

This module handles logical connections to the /v2/webservice.event endpoint on the Elluminate server. This endpoint implements the Standard Bridge API.

connect

my $ec1 = Elive::StandardV2::Connection->connect('http://someserver.com/test',
                                                 'user1', 'pass1', debug => 1,
);

my $url1 = $ec1->url;   #  'http://someserver.com/test'

my $ec2 =  Elive::StandardV2::Connection->connect('http://user2:pass2@someserver.com/test',
                                                   undef, undef, debug => 1);
my $url2 = $ec2->url;   #  'http://someserver.com/test'

Establishes a SOAP connection. Retrieves the server configuration, to verify connectivity, authentication and basic operation.

disconnect

Closes a connection and frees any resources related to the connection.

call

my $som = $self->call( $cmd, %params );

Performs an Elluminate SOAP method call. Returns the response as a SOAP::SOM object.

soap

my $soap_lite_obj = $connection->soap;

Returns the underlying SOAP::Lite object for the connection.

scheduling_manager

Returns the scheduling manager for this connection (see Elive::StandardV2::SchedulingManager).

server_configuration

Returns the server configuration for this connection (see Elive::StandardV2::ServerConfiguration).

server_versions

Returns the server versions for this connection (see Elive::StandardV2::ServerVersions).

version

Equivalent to $self->server_versions->versionName.