Copyright Notice: http://www.ncbi.nlm.nih.gov/books/about/copyright/
NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.
Entrez Programming Utilities Help [Internet]. Bethesda (MD): National Center for Biotechnology Information (US); 2010-.
Introduction
As an alternative method to posting E-utility URLs as described in earlier chapters of this book, NCBI provides a web service for accessing the E-utilities using the Simple Object Access Protocol (SOAP). This web service accesses the same E-utility CGIs as do the standard URLs described earlier, and so in general all of the E-utility parameters described in Chapter 4 can be used with the web service as well, and the functions of the web service methods are the same as their CGI counterparts. The only exception to this is that there is no retmode parameter for EFetch, since all SOAP data are returned in XML.
At present the E-utility web service has been tested in the following development environments:
C# and Visual Basic in MS Visual Studio 2008
Java (Apache Axis2 version 1.5.2)
The web service should also work with older versions of Axis (Axis for Java version 1.4) and MS Visual Studio (MSVS 2005). Developers can also use other SOAP libraries and tools to access the web service, but some functions may not be available.
Specific Instructions for Supported Development Environments
Please see the following pages for detailed information about using the E-utility web service in the following environments:
WSDL Files for the Current Version (2.0)
Version 2.0 of the E-utility web service provides access to all seven E-utilities (ESearch, ESummary, EFetch, ELink, EPost, EGQuery and ESpell). To create a SOAP client application, developers should use one or more of the WSDL files listed below or download WSDL/XSD files from our FTP site.
General WSDL for all E-utilities except EFetch
http://www.ncbi.nlm.nih.gov/soap/v2.0/eutils.wsdl
This file provides standard parameters for ESearch, ESummary, EPost, ELink, EGQuery and ESpell and should be used by default.
WSDL files for EFetch
In version 2.0, a separate WSDL file must be used to retrieve data from a given database with EFetch. These files are listed below for each database.
PMC (PubMed Central)
Sequences (nuccore, nucgss, nucest, protein, genome and popset)
Changes in Version 2.0
The most significant change is that the eFetch method has been removed from the eUtils.wsdl file. Developers should now use the database-specific WSDL file for EFetch to retrieve records from a database. For example, efetch_pubmed.wsdl should be used to retrieve records from PubMed.
The major changes in version 2.0 include the following:
Removed the eFetch method from the eUtils.wsdl file and created new, separate WSDL for retrieving records in each database (e.g. efetch_pubmed.wsdl)
Regenerated all schemas based on current DTDs (December 17, 2010)
Fixed binding problems in WSDL files*
Added support for EPost
Eliminated mixed="true" from eSummary schema
Added the linkname property in ELinkRequest elements
Removed eUtils_lite.wsdl, efetch.wsdl, and efetch_lit.wsdl
Starting with version 2.0, new versions of the E-utility web service will be placed into separate directories. For example, version 2.0 is located in http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/.
Version 2.0 is not fully compatible with previous versions. Developers should regenerate their source code with the new WSDLs. The following should be done to update the project:
Use eUtils.wsdl instead of eUtils_lite.wsdl
Use eUtils_MS.wsdl if there are _MS methods called in the source code
Use database-specific WSDL files instead of efetch.wsdl or efetch_lit.wsdl to retrieve records using EFetch; for example, efetch_pubmed.wsdl should be used to retrieve records from PubMed. To retrieve records from multiple databases, add a Web Reference for each database in MSVS. For Axis2, run WSDL2Java for each database and include the package in the project. Each database-specific WSDL file has a different namespace to prevent name conflicts.
(*) Methods with _MS suffix have been moved to the eUtils_MS.wsdl file, which should be used in MS Visual Studio only. Those methods require input parameters in a different format, i.e. a list of parameters in the method's definition instead of one object.
Class Properties for E-utility SOAP Requests
Please see the following tables for a list of class properties for each E-utility request. These properties apply for all supported development environments.
ESearch (eSearchRequest)
string sort
ESummary (eSummaryRequest)
EFetch (eFetchRequest)
Additional properties available for sequence databases:
string report
ELink (eLinkRequest)
For More Information
For general information about web services, please see this overview.
Please see Chapter 1 for getting additional information about the E-utilities.
-
Overview of the E-utility Web Service (SOAP) - Entrez Programming Utilities Help
Overview of the E-utility Web Service (SOAP) - Entrez Programming Utilities HelpBookshelf
-
Sample Applications of the E-utilities - Entrez Programming Utilities Help
Sample Applications of the E-utilities - Entrez Programming Utilities HelpBookshelf
-
Using Entrez Utilities Web Service with Apache Axis2 for Java - Entrez Programmi...
Using Entrez Utilities Web Service with Apache Axis2 for Java - Entrez Programming Utilities HelpBookshelf
-
The E-utility Web Service (SOAP) - Entrez Programming Utilities Help
The E-utility Web Service (SOAP) - Entrez Programming Utilities HelpBookshelf
-
Bookshelf Tutorials - Bookshelf Help
Bookshelf Tutorials - Bookshelf HelpBookshelf
Your browsing activity is empty.
Activity recording is turned off.
See more...