United States Department of Agriculture
Natural Resources Conservation Service
National Water and Climate Center Go to Accessibility Information
Skip to Page Content
National Water and Climate Center


AWDB Web Service Frequently-Asked Questions

Q How do I determine the current version number of the AWDB Web Service?

To determine the currently-deployed version number and build date of the AWDB Web Service, go to http://www.wcc.nrcs.usda.gov/awdbWebService/version.html. The url will return a path containing the version number and the build date.

Q I've written some calls to the AWDB Web Service. Is there a way to test these?

Yes. Use the AWDB Web Service Test Tool to run any methods of the Web Service, set the SOAP request, SOAP response, and see the actual data returned. This is a powerful tool that lets users look at data or test the Web Service to ensure it returns what is wanted before implementing the calls in code.

Q I want to ensure I'm using the latest version of AWDB Web Service WSDL file. Where is it located?

The latest version of the AWDB Web Service WSDL (Web Service Description Language) file can be found at: http://www.wcc.nrcs.usda.gov/awdbWebService/services?WSDL

Q How do I get hourly data over a date range?

The 'getHourlyData' method has parameters for 'beginDate' and 'endDate', as well as 'beginHour' and 'endHour'. The 'beginDate' and 'endDate' can start and end on a specific hour. Therefore, if you want to collect hourly data from 22:00 yesterday to 4:00 today, you can set the beginDate to 'YYYY-mm-01 22:00' to 'YYYY-mm-02 04:00' and leave the 'beginHour' and 'endHour'parameters blank (or null).

Q How do I get hourly data for a specific hour over a date range?

The 'getHourlyData' method has parameters for 'beginDate' and 'endDate', as well as 'beginHour' and 'endHour'. The purpose of the'beginHour' and 'endHour' parameters are to return a subset of data for each day requested. Therefore, if you wanted to collect data for a specific hour or range of hours for every day between your begin and end dates, you would specify the beginHour and endHour parameters. For example, if you wanted the 00:00 hour data for each day from July 1 through July 4, you would set the beginDate to '2015-07-01', the endDate to '2015-07-04', the beginHour to '00:00', and the endHour to '00:00'.