wiki:OqafmaWebservice

Version 1 (modified by joshuadf, 12 years ago) (diff)

--

A quick wrapper for OqaFma.

This call:

#!/usr/bin/perl
use SOAP::Lite;
$y = 'WHERE X->":NAME"->"Heart", X->":NAME"->bar CREATE foo(bar)';
print SOAP::Lite
  -> service("http://fma.biostr.washington.edu:8080/OqafmaWebService/wsdl/OqafmaWS.wsdl")
  -> runQuery("$y");

produces these results:

<?xml version="1.0"?>
<results>
  <foo>
    <bar>Heart</bar>
  </foo>
</results>