NAME

WebService::FuncNet::Request - object representing a request

FUNCTIONS

new

Creates a new request object. Takes as input a reference to an array of reference proteins, a reference to an array of query proteins and optionally an email address used for tracking the job at a later stage.

my $ra_ref_proteins   = [ 'A3EXL0','Q8NFN7', 'O75865' ];
my $ra_query_proteins = [ 'Q9H8H3','Q5SR05','P22676' ];

my $r = WebService::FuncNet::Request->new( 
   $ra_ref_proteins, 
   $ra_query_proteins,
[ 'test@example.com' ] );

This subroutine returns undef on error.

submit

Submits the request to the frontend. This is done by implementing the SubmitTwoProteinSets SOAP method in the background. The frontend by default will submit the request to all available predictors.

This subroutine returns a WebService::FuncNet::Job object.

my $j = $r->submit( );

This subroutine will return undef on error.

REVISION INFO

Revision:      $Rev: 64 $
Last editor:   $Author: andrew_b_clegg $
Last updated:  $Date: 2009-07-06 16:12:20 +0100 (Mon, 06 Jul 2009) $

The latest source code for this project can be checked out from:

https://funcnet.svn.sf.net/svnroot/funcnet/trunk