[tdwg-tag] Making a query from a external application to Tapir client

Kevin Richards RichardsK at landcareresearch.co.nz
Mon May 28 23:12:43 CEST 2012


I developed the .NET implementation of tapir and it is basically the same as the php one, so yes, just replace the *.php with the *.aspx equivalent.

Let me know if you have any issues and I can help you out.  I have updated the code in recent years, so I might upload the latest version to sourceforge.


-----Original Message-----
From: tdwg-tag-bounces at lists.tdwg.org [mailto:tdwg-tag-bounces at lists.tdwg.org] On Behalf Of "Markus Döring (GBIF)"
Sent: Monday, 28 May 2012 11:33 p.m.
To: Daniel Fuentes
Cc: tdwg-tag at lists.tdwg.org
Subject: Re: [tdwg-tag] Making a query from a external application to Tapir client

just exchange the tapir service url with your url, whatever implementation you use. There might be slight differences, but I havent tried the dot net version myself so I cant say much about that.
The capabilities should tell you what features the implementation supports, but the basics should work fine. Do you have a public example url?


On 28.05.2012, at 10:14, Daniel Fuentes wrote:

> Thanks Markus,
> I've noticed in your examples that you are using tapir.php, so what tool do I have to use to make queries? I was using tapirDotNet.
> 2012/5/24 "Markus Döring (GBIF)" <mdoering at gbif.org> Hi Daniel,
> an example search asking for the first 2 records with no filter can be done like this:
> http://tapir.bebif.be/tapir.php/UGENT_vertebrates?op=s&m=http://rs.tdw
> g.org/tapir/cs/dwc/1.4/model/dw_core_geo_cur.xml&limit=2
> Filtering by scientific name for dwc services goes like this:
> http://tapir.bebif.be/tapir.php/UGENT_vertebrates?op=s&m=http://rs.tdw
> g.org/tapir/cs/dwc/1.4/model/dw_core_geo_cur.xml&limit=2&f=http://rs.t
> dwg.org/dwc/dwcore/ScientificName%20like%20%22Sciurus*%22
> To find supported output models and concepts the capabilities response of TAPIR is useful:
> http://tapir.bebif.be/tapir.php/UGENT_vertebrates?op=c
> Shared output models and concept aliases can be found at TDWG:
> http://rs.tdwg.org/tapir/cs/
> And in general the TAPIR specs document that all pretty well, albeit a bit technical:
> http://www.tdwg.org/activities/tapir/specification
> hope that helps,
> Markus
> On 24.05.2012, at 11:17, Daniel Fuentes wrote:
> > Hello,
> >
> > I'm developing a program to make searches to the Tapir client. To do that, I have to include the parameteres of the query in the URL using the GET method. I have studied the source code and I think I should include the parameter "request" with the encoded query but it doesn't work for me.
> >
> > How the URL can be formed? What parameters do I have to include?
> >
> > Thanks in advance!
> > Best,
> > Daniel
> > _______________________________________________
> > tdwg-tag mailing list
> > tdwg-tag at lists.tdwg.org
> > http://lists.tdwg.org/mailman/listinfo/tdwg-tag
> --
> Un saludo.
> Daniel Fuentes

tdwg-tag mailing list
tdwg-tag at lists.tdwg.org

Please consider the environment before printing this email
Warning:  This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz

More information about the tdwg-tag mailing list