Implemented SOAP services
From W
global links:
- Reports - weekly reports. setup and test reports, and others
- Meetings - information on past and future meetings
- Project plan - the original, and current updates
- Web services links
wsdl: ix0.org/npd/soap/npd8.wsdl
The currently available SOAP services:
geneID(string GeneName) - output string GeneID
e.g. provide gene name ATRX, receive output 1NP00017
search(string GeneName) - output array GeneIDs
e.g. provide gene name ATRX, receive output 1NP00017 but provide partial gene name PRP receive 33 partial match GeneID outputs (1NP00001, etc)
SQLquery(string SQLquery) - output array results
e.g. provide:
select GeneName,RecordID from mytsummeta where GeneID like '1NP00017'
receive an array of the values in the select field, so in this case receive ATRX and the record ID
queryBuilder(array(select,table,field,value)) - return array results
builds a query for you e.g. provide :
select - GeneName,RecordID
table - mytsummeta
field - GeneID
value - 1NP00017
builds the query :
SELECT select FROM table WHERE field LIKE value
returns result array - only tested on really simple query so far such as select GeneName, table mytsummeta, field GeneID, value 1NP00017
links(string GeneID) - output array links
e.g. provide GeneID 1NP00017, receive an array of all the internet links attached to that gene - so links to papers in PubMed, Entrez Protein details, and so on.
schema(string database) - output the database schema
provide database name as as input, get schema back (though, as this is the only available database anyway, it makes no difference what you enter)
unfortunately I have not yet been able to get the output of this function to match a definition in the wsdl, so the output comes as a string, and the < and > symbols are given in coded form, e.g. < instead of as actual symbols. But the table data is further available by the following 2 services, and the schema can be made available from the website.
tables(string database) - output list of available tables in the given database
provide database name as input, get table list back (though, as this is the only available database anyway, it makes no difference what you enter)
fields(string table) - output fields on a given table
provide a table name, such as mytsummeta, and receive a list of the fields in that table
rest(string geneID,string subsection) - return the subsection of information about that gene
reflects the functionality being implemented in the new user system to provide REST access onto the content. giving a gene ID and a subsection, as defined in the REST functionality, returns the details in that subsection about that protein.
e.g. provide 1NP00017 and Keywords, and the output will be the list of available keywords
