NAME
LS::Client::SOAP - Implements the SOAP protocol specific calls for invoking an LSID service
SYNOPSIS
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
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
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
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
Copyright (c) 2002,2003 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.opensource.org/licenses/cpl.php