User Tools

Site Tools


soap

This is an old revision of the document!


SOAP Service for G-language System

Base URL

Usage examples in different programming languages

Perl
use SOAP::Lite;
use strict;
 
my $soap = SOAP::Lite->service("http://soap.g-language.org/g-language.wsdl");
my $in0   = SOAP::Data->new(name=>'in0',value=>"ecoli");
 
my %param = (-cumulative=>1);
my $inputParams = SOAP::Data->name('params')->type(map=>¥%param);
 
print $soap->gcskew($in0, $inputParams);
Ruby
require 'soap/wsdlDriver'
 
wsdl = "http://soap.g-language.org/g-language.wsdl"
serv = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
serv.generate_explicit_type = true
 
hash = {"-cumulative" => 1}
print serv.gcskew("ecoli",hash)
Python
from SOAPpy import WSDL
 
wsdl = 'http://soap.g-language.org/g-language.wsdl'
serv = WSDL.Proxy(wsdl)
 
param = {"cumulative" : 1}
print serv.gcskew('ecoli',param)
Java
import hogehoge;

MyExperiment and Taverna

soap.1246089935.txt.gz · Last modified: 2014/01/18 07:44 (external edit)