![]() |
WSDbfetch (SOAP)DescriptionWSDbfetch allows you to retrieve entries from various up-to-date biological databases using entry identifiers or accession numbers. This is equivalent to the CGI based dbfetch service. Like the CGI service a request can return a maximum of 200 entries. For more information see: ClientsSample clients are provided for a number of programming languages. For details of how to use these clients, download the client and run the program without any arguments.
For further details see WSDbfetch Clients. WSDLService APIfetchBatch(db, ids, format, style)Fetch a set of entries in a defined format and style. Arguments:
Returns: an array of strings containing the entries. Generally this will contain only one item which contains the set of entries. Throws:
fetchData(query, format, style)Fetch an entry in a defined format and style. Arguments:
Returns: an array of strings containing the entry. Generally this will contain only one item which contains the whole entry. Throws:
getDbFormats(db)Get a list of format names for a given database. Arguments:
Returns: an array of strings containing the format names. Throws:
getFormatStyles(db, format)Get a list of style names available for a given database and format. Arguments:
Returns: an array of strings containing the style names. Throws:
getSupportedDBs()Get a list of database names usable with WSDbfetch. Arguments: none Returns: an array of strings containing the database names. getSupportedFormats()Get a list of database and format names usable with WSDbfetch. Arguments: none Returns: an array of strings containing the database and format names. For example: uniprotkb default,fasta,uniprot,uniprotxml getSupportedStyles()Get a list of database and style names usable with WSDbfetch. Arguments: none Returns: an array of strings containing the database and style names. For example: uniprotkb default,html,raw DbfExceptionGeneric exception used for errors thrown by the WSDbfetch service. Subclasses: DbfParamsExceptionException indicating that the input parameters failed to validate. The message contains specific information about the cause. For example:
Parent class: DbfException DbfConnExceptionException indicating that there was a problem contacting the database to retrieve the requested data. For example: uk.ac.ebi.jdbfetch.exceptions.DbfConnException: Unexpected error when opening stream on the URL, please contact support@ebi.ac.uk Parent class: DbfException DbfNoEntryFoundExceptionException indicating that no entries were found in the database which matches the request. For example: uk.ac.ebi.jdbfetch.exceptions.DbfNoEntryFoundException: No result found Common causes of the error include:
Parent class: DbfException InputExceptionException indicating that required parameters were not specified, or were in an incorrect format. For example:
ContactIf you have any questions, comments, if you plan to use this service as part of a course or for a high number of submissions, please contact us via EBI Support. ![]() |