LS::Client::SOAP - Implements the SOAP protocol specific calls for invoking an LSID service


lsid-perl documentation  | view source Contained in the lsid-perl distribution.

Index


NAME

Top

LS::Client::SOAP - Implements the SOAP protocol specific calls for invoking an LSID service

SYNOPSIS

Top

 use LS::ID;
 use LS::Client::SOAP;

 $lsid = LS::ID->new('URN:LSID:pdb.org:PDB:112L:');

 $client = LS::Client::SOAP->new(url=> 'http://someauthority.org:8080/authority');

 $metadata = $client->getMetadata(lsid=> $lsid);

DESCRIPTION

Top

LS::Client::SOAP provides wrapper methods to invoke an LSID service in a protocol specific manner as defined by http://www.omg.org/cgi-bin/doc?dtc/04-05-01.

CONSTRUCTORS

Top

The following method is used to construct a new LS::Client::SOAP object:

new

This class method creates a new LS::Client::SOAP object.

Examples:

 $soap = LS::Client::SOAP->new(url=> 'http://someauthority.org:8080/authority');

 if (!$soap) {
 	print STDERR "Unable to create protocol object!";
 }

METHODS

Top

LS::Client::SOAP supports the following methods:

getContent ( method=> $method, %options )

Generic method used to invoke $method and return any results from the SOAP service.

getData ( lsid=> $lsid )

Invokes the getData service method (if available) and returns any data from the authority.

getDataByRange ( lsid=> $lsid, start=> $start, length=> $length )

Invokes getDataByRange, see getData for more information.

getMetadata ( lsid=> $lsid )

Invokes getMetadata, see getData for more information.

getMetadataSubset ( lsid=> $lsid )

Invokes getMetadataSubset, see getData for more information.

COPYRIGHT

Top


lsid-perl documentation  | view source Contained in the lsid-perl distribution.