BioPerl-Run
view release on metacpan or search on metacpan
lib/Bio/Tools/Run/AnalysisFactory/soap.pm view on Meta::CPAN
All public methods are documented in the interface module
C<Bio::Factory::AnalysisI>.
=head1 FEEDBACK
=head2 Mailing Lists
User feedback is an integral part of the evolution of this and other
Bioperl modules. Send your comments and suggestions preferably to
the Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
=head2 Support
Please direct usage questions or support issues to the mailing list:
I<bioperl-l@bioperl.org>
rather than to the module maintainer directly. Many experienced and
reponsive experts will be able look at the problem and quickly
address it. Please include a thorough description of the problem
with code and data examples if at all possible.
=head2 Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track
of the bugs and their resolution. Bug reports can be submitted via the
web:
http://redmine.open-bio.org/projects/bioperl/
=head1 AUTHOR
Martin Senger (martin.senger@gmail.com)
=head1 COPYRIGHT
Copyright (c) 2003, Martin Senger and EMBL-EBI.
All Rights Reserved.
This module is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 DISCLAIMER
This software is provided "as is" without warranty of any kind.
=head1 SEE ALSO
=over
=item *
http://www.ebi.ac.uk/soaplab/Perl_Client.html
=back
=head1 BUGS AND LIMITATIONS
None known at the time of writing this.
=head1 APPENDIX
The main documentation details are in
C<Bio::Factory::AnalysisI>.
=cut
# Let the code begin...
package Bio::Tools::Run::AnalysisFactory::soap;
use vars qw(@ISA $Revision $DEFAULT_LOCATION @DEFAULT_DIR_SERVICE);
use strict;
use Bio::Tools::Run::AnalysisFactory;
use Bio::Tools::Run::Analysis;
use SOAP::Lite
on_fault => sub {
my $soap = shift;
my $res = shift;
my $msg =
ref $res ?
"--- SOAP FAULT ---\n" .
'faultcode: ' . $res->faultcode . "\n" .
'faultstring: ' . Bio::Tools::Run::AnalysisFactory::soap::_clean_msg ($res->faultstring)
: "--- TRANSPORT ERROR ---\n" . $soap->transport->status . "\n$res\n";
Bio::Tools::Run::AnalysisFactory::soap->throw ($msg);
}
;
@ISA = qw(Bio::Tools::Run::AnalysisFactory);
BEGIN {
$Revision = q[$Id$];
# where to go...
$DEFAULT_LOCATION = 'http://www.ebi.ac.uk/soaplab/services';
# ...and what to find there
# (this is a list of service names available from the given location;
# those that do not exist are ignored; if none exists then only
# location - without any service name appended - is used)
@DEFAULT_DIR_SERVICE = ('AnalysisFactory', 'GowlabFactory');
}
# -----------------------------------------------------------------------------
=head2 _initialize
Usage : my $factory = Bio::Tools::Run::AnalysisFactory->new(@args);
(_initialize is internally called from the 'new()' method)
Returns : nothing interesting
Args : This module recognises and uses following arguments:
-location
-httpproxy
-soap
Additionally, the main module Bio::Tools::Run::AnalysisFactory
recognises also:
( run in 2.632 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )