caCORE 3.2 Application Programming Interfaces (APIs)
- Java API -- caCORE offers direct access to the domain objects through the Java API. Developers can download the client.jar file and directly use its packages in their programs. Each java bean object class in the caCORE domain packages acts as its own search criteria object and provides methods for the retrieval of attributes and related domain objects.
- caCOREService -- The caCOREService web service
has a single endpoint (caCOREService) which provides SOAP based inter-application communication using the Apache Axis standard.
- HTTP-XML Interface-- Using the HTTP-XML interface, a user can submit a query to caBIO as a URL from a browser and retrieve the results of the query in XML. The HTTP interface leverages the GetXML service, which allows researchers to perform an operation and pass in the associated search criteria as parameters embedded in the URL. An XML document that contains the results of the query is returned. For example, a researcher can obtain an XML document containing information on the PTEN gene via
where 'query' indicates which domain object is requested, and 'Gene[caCORE:@symbol=NAT2]'is the search criterion. One or more search criterion-value pairs can be included.
Labels