KEGG network provider

This is a test of the metabolicgraphconstruction service.
Test filesDownload the files for this test
Test runRun test now
Support reference#2814-2815
This test constructs the E. coli metabolic network from the KGML files provided in KEGG PATHWAY.
Show/hide recent test logs
view log 2 days agoPASSED

Test began: 2012-05-17 05:28:59 Test ended: 2012-05-17 05:29:01 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 7 days agoPASSED

Test began: 2012-05-12 18:49:12 Test ended: 2012-05-12 18:49:15 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 2 weeks agoPASSED

Test began: 2012-05-05 23:20:10 Test ended: 2012-05-05 23:20:12 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 2 weeks agoPASSED

Test began: 2012-05-03 03:24:46 Test ended: 2012-05-03 03:24:49 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 4 weeks agoPASSED

Test began: 2012-04-22 05:52:50 Test ended: 2012-04-22 05:52:52 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 4 weeks agoPASSED

Test began: 2012-04-20 02:07:58 Test ended: 2012-04-20 02:08:00 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 1 month agoPASSED

Test began: 2012-04-10 10:08:48 Test ended: 2012-04-10 10:08:50 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 1 month agoPASSED

Test began: 2012-04-10 09:43:30 Test ended: 2012-04-10 09:43:33 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 1 month agoPASSED

Test began: 2012-04-10 06:20:09 Test ended: 2012-04-10 06:20:12 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
view log 2 months agoPASSED

Test began: 2012-03-30 22:47:27 Test ended: 2012-03-30 22:47:31 Result : Test passed ------ stderr and stdout follow ------ PassedDownload this log...
This test consists of the following files:
keggnetworkprovider_test.pl
#!/usr/bin/perl
# the first line of the script must tell us which language interpreter to use,
# in this case its perl
use strict;
# import the modules we need for this test; XML::Compile is included on the server
# by default.
use XML::Compile::SOAP11;
use XML::Compile::WSDL11;
use XML::Compile::Transport::SOAPHTTP;
eval
{
# Retrieving and processing the WSDL
my $wsdl = XML::LibXML->new->parse_file('http://wwwsup.scmbb.ulb.ac.be/be.ac.ulb.bigre.graphtools.server/wsdl/GraphAlgorithmsNeAT.wsdl');
my $proxy = XML::Compile::WSDL11->new($wsdl);
# Generating a request message based on the WSDL
my $metabolicgraphconstruction = $proxy->compileClient('metabolicgraphconstruction');
# Calling the service and getting the response
my $organism = "eco";
my $answer = $metabolicgraphconstruction->( request => {organismNames => $organism, organismFile => "", reactionIds => "", reactionFile => "", directed => 0, keepIrreversible => 0, graphType => "r", attributes => "", outFormat => "tab", excludeCompounds => "", excludeReactions=> "", excludeRPairClasses => "", returnType => "client" });
my $expected = "R00006 Reaction R00006";
# If the response arrived, look for a specific sequence
# If the sequence is correct, return 0 because the test passed.
# If the result is something else, return 2 to indicate a warning.
# If no answer has arrived, return 1 to indicate the test failed.
if ( defined $answer ) {
# print "Result : ".$answer->{output}->{response}->{client}."\n";
if ($answer->{output}->{response}->{client} =~ m/$expected/){
print "Passed\n";
exit 0;
} else {
print "Unexpected data\n";
exit 2;
}
} else {
print "Failed\n";
exit 1;
}
};
if ($@)
{
print "Caught an exception\n";
print $@."\n";
exit 1;
}