Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Bioportal REST services

Trish Whetzel whetzel at stanford.edu
Wed Aug 26 12:55:36 PDT 2009


The files can be downloaded from Apache: http://hc.apache.org/downloads.cgi
and will need to be added to the classpath as you mentioned. The import to
use for GET methods is: import
org.apache.commons.httpclient.methods.GetMethod;

Trish


>-----Original Message-----
>From: Sridevi Polavaram [mailto:spolavar at gmu.edu]
>Sent: Wednesday, August 26, 2009 12:22 PM
>To: Trish Whetzel
>Subject: Re: RE: [bioontology-support] Bioportal REST services
>
>Hi Trish,
> Thanks for responding. I have looked at the example, seems like I have
>to import certain packages.
>import org.apache.commons.httpclient.HttpClient;
>import org.apache.commons.httpclient.methods.PostMethod;
>
>Since I am interested in hierarchy services, I am not sure if I should
>replace the second import with an appropriate import!?
>
>If I have to import, I should probably download some jar files and have
>them available in my classpath, can you please point me where can I find
>them?
>Thanks
>Sridevi
>
>----- Original Message -----
>From: Trish Whetzel <whetzel at stanford.edu>
>Date: Wednesday, August 26, 2009 2:41 pm
>Subject: RE: [bioontology-support] Bioportal REST services
>
>> Hi Sridevi,
>>
>> There are example clients in Java and Perl for the Annotator service,
>> http://www.bioontology.org/wiki/index.php/Annotator_Client_Examples.
>The
>> main difference between that service and the others is that that the
>> Annotator uses POST (includes additional parameters not specified
>> in the
>> URL) while the other services are GET requests with all parameters
>> specifiedin the URL. In addition, the results from the GET services
>> are returned as
>> XML, as seen when calling the service via the browser, and will
>> need to be
>> parsed in the client.
>>
>> Trish
>>
>>
>> >-----Original Message-----
>> >From: bioontology-support-bounces at lists.stanford.edu
>> >[mailto:bioontology-support-bounces at lists.stanford.edu] On Behalf Of
>> >Sridevi Polavaram
>> >Sent: Wednesday, August 26, 2009 10:30 AM
>> >To: support at bioontology.org
>> >Subject: [bioontology-support] Bioportal REST services
>> >
>> >Hi,
>> > Is there a clear documentation about how to call the Bioportal
>> REST web
>> >services. e.g., I am interested to invoke the hierarchy service
>> from my
>> >Java application. The documentation available at:
>> >http://www.bioontology.org/wiki/index.php/NCBO_REST_services
>> >explain about the services but not about how to invoke them!
>> >Thanks
>> >Sridevi
>> >_______________________________________________
>> >bioontology-support mailing list
>> >bioontology-support at lists.stanford.edu
>> >https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>>
>>




More information about the bioontology-support mailing list