UsingTheWSInterface

From BRF-Software
Revision as of 14:15, 8 March 2007 by imported>MichaelDondrup
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using TheWeb-Services Interface

Synopsis

Web-services allow for interchange of structured data via the internet. EMMA provides a SOAP-based web-service layer to query for expression data.

Sample Perl-client

Have a look at the sample SOAP::Lite client written in perl.


#!/usr/bin/env perl

use strict;
use warnings;
use SOAP::Lite;
use Data::Dumper;


my $soap = SOAP::Lite->
    service('https://www.cebitec.uni-bielefeld.de/groups/brf/software/emma/web_service_emma.wsdl');
  

print Dumper $soap->fetchAllProjects();
print Dumper $soap->fetchAllExperiments('EMMA2.Coryne-Center');
print Dumper $soap->fetchAllReporterByName('EMMA2.Coryne-Center',  'Smeliloti DEMO Project', "sm00001"); 
print  $soap-> fetchAllExperimentalFactorValuesByFactorAndExperiment ('EMMA2:Coryne-Center','Heat Shock','Strains');