UsingTheWSInterface
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');