Changes between Initial Version and Version 1 of OqafmaWebservice


Ignore:
Timestamp:
05/04/06 13:42:48 (12 years ago)
Author:
joshuadf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OqafmaWebservice

    v1 v1  
     1A quick wrapper for OqaFma.  
     2 
     3 * If the query doesn't end in a semicolon, it will automatically insert one. 
     4 * WSDL at http://fma.biostr.washington.edu:8080/OqafmaWebService/wsdl/OqafmaWS.wsdl 
     5 * StruQL examples at http://fma.biostr.washington.edu:8089/noqafma/query.jsp 
     6 
     7This call: 
     8{{{ 
     9#!/usr/bin/perl 
     10use SOAP::Lite; 
     11$y = 'WHERE X->":NAME"->"Heart", X->":NAME"->bar CREATE foo(bar)'; 
     12print SOAP::Lite 
     13  -> service("http://fma.biostr.washington.edu:8080/OqafmaWebService/wsdl/OqafmaWS.wsdl") 
     14  -> runQuery("$y"); 
     15}}} 
     16 
     17produces these results: 
     18{{{ 
     19<?xml version="1.0"?> 
     20<results> 
     21  <foo> 
     22    <bar>Heart</bar> 
     23  </foo> 
     24</results> 
     25}}}