SOAP WSDL Generate Code

AwdbWebServiceSoapBinding / getAllForecastsForStation

ASP AutoIt C C (Unicode) C++ C++ (Unicode) C# DataFlex Delphi Foxpro Go Java Node.js Objective-C Perl PHP Extension PowerBuilder Powershell PureBasic Python CkPython Ruby SQL Server Swift TCL VB.NET VB6 VBScript Xojo
var
xml: HCkXml;
soapRequestBody: PWideChar;
endpoint: PWideChar;
soapAction: PWideChar;
contentType: PWideChar;
http: HCkHttp;
resp: HCkHttpResponse;
responseXml: HCkXml;
statusCode: Integer;
comment: PWideChar;
analysisType: PWideChar;
calibrationEndYear: Integer;
calibrationStartYear: Integer;
componentsToRetain: Integer;
creationDate: PWideChar;
dailyForecast: PWideChar;
dailyForecastThreshold: PWideChar;
dailyForecastThresholdRelative: PWideChar;
dataForcedSeriallyComplete: PWideChar;
degreesOfFreedom: Integer;
forecastCondition: PWideChar;
forecastType: PWideChar;
forecaster: PWideChar;
functionArgument: PWideChar;
functionCd: PWideChar;
helperDataSource: PWideChar;
helperElementCd: PWideChar;
helperEndDay: Integer;
helperEndMonth: Integer;
helperEndYearFlag: PWideChar;
helperMixedPastEndDay: Integer;
helperMixedPastEndMonth: Integer;
helperMixedPastEndYearFlag: PWideChar;
helperMixedPastStartDay: Integer;
helperMixedPastStartMonth: Integer;
helperMixedPastStartYearFlag: PWideChar;
helperPredictorUsed: PWideChar;
helperStartDay: Integer;
helperStartMonth: Integer;
helperStartYearFlag: PWideChar;
helperStationTriplet: PWideChar;
helperUsedInOverlappingYears: PWideChar;
helperVarianceMatchedToObserved: PWideChar;
jackKnifingUsed: PWideChar;
key: Integer;
minimumR2ForPredictor: PWideChar;
minimumYearsForPredictor: Integer;
mixedPastEndDay: Integer;
mixedPastEndMonth: Integer;
mixedPastEndYearFlag: PWideChar;
mixedPastStartDay: Integer;
mixedPastStartMonth: Integer;
mixedPastStartYearFlag: PWideChar;
mixedPastUsed: PWideChar;
name: PWideChar;
numYearsUsed: Integer;
optimalWeightingUsed: PWideChar;
overrideAverage: PWideChar;
overrideStderr: PWideChar;
pastFlowRealtime: PWideChar;
customStationListName: PWideChar;
dataSourceCd: PWideChar;
elementCd: PWideChar;
globalMonthChangeAllowed: PWideChar;
groupName: PWideChar;
groupNumber: Integer;
negativeWeightAllowed: PWideChar;
networks: PWideChar;
states: PWideChar;
upstreamForecast: PWideChar;
endDay: Integer;
endMonth: Integer;
endYearFlag: PWideChar;
predictorNumber: Integer;
predictorUsed: PWideChar;
startDay: Integer;
startMonth: Integer;
startYearFlag: PWideChar;
stationTriplet: PWideChar;
preprocessingConstant: PWideChar;
preprocessingMultiplier: PWideChar;
publicationCd: PWideChar;
TTestLimit: PWideChar;
targetDataSource: PWideChar;
targetElementCd: PWideChar;
targetEndDay: Integer;
targetEndMonth: Integer;
targetEndYearFlag: PWideChar;
targetStartDay: Integer;
targetStartMonth: Integer;
targetStartYearFlag: PWideChar;
targetStationName: PWideChar;
targetStationTriplet: PWideChar;
transformErrorsOnly: PWideChar;
coordinatedForecastIssueDate: PWideChar;
coordinatedForecastProbabilities: PWideChar;
coordinatedForecastValues: PWideChar;
dataSource: PWideChar;
coefficient: PWideChar;
dataPeriodDays: PWideChar;
dataPeriodMonth: PWideChar;
dataYearFlag: PWideChar;
beginDate: PWideChar;
dataPrecision: Integer;
duration: PWideChar;
endDate: PWideChar;
unitCd: PWideChar;
value: PWideChar;
ordinal: Integer;
originalUnitCd: PWideChar;
storedUnitCd: PWideChar;
footnotes: PWideChar;
forecastPeriod: PWideChar;
v_function: PWideChar;
interceptConstant: PWideChar;
maxOfRecord: PWideChar;
minOfRecord: PWideChar;
monthlyCorrelationCoefficients: PWideChar;
monthlyStderrValues: PWideChar;
day: Integer;
month: Integer;
published: PWideChar;
forecastFinal: PWideChar;
forecastPeriodCd: PWideChar;
forecastPeriodName: PWideChar;
hydrologistForecastIssueDate: PWideChar;
hydrologistForecastProbabilities: PWideChar;
hydrologistForecastValues: PWideChar;
originalForecastIssueDate: PWideChar;
originalForecastProbabilities: PWideChar;
originalForecastValues: PWideChar;
otherAgencyCds: PWideChar;
otherAgencyForecastValues: PWideChar;
periodAverage: PWideChar;
publicationDate: PWideChar;

begin
xml := CkXml_Create();
CkXml_putTag(xml,'soapenv:Envelope');
CkXml_AddAttribute(xml,'xmlns:awd','http://www.wcc.nrcs.usda.gov/ns/awdbWebService');
CkXml_AddAttribute(xml,'xmlns:soapenv','http://schemas.xmlsoap.org/soap/envelope/');
CkXml_UpdateChildContent(xml,'soapenv:Header','');
CkXml_UpdateChildContent(xml,'soapenv:Body|awd:getAllForecastsForStation|awd:stationTriplet','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|awd:getAllForecastsForStation|awd:beginPublicationDate','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|awd:getAllForecastsForStation|awd:endPublicationDate','string');

// In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required. 
CkXml_putEmitXmlDecl(xml,False);
soapRequestBody := CkXml__getXml(xml);

endpoint := 'https://wcc.sc.egov.usda.gov/awdbWebService/services';
soapAction := '';
//  For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
contentType := 'text/xml';

http := CkHttp_Create();

CkHttp_ClearHeaders(http);
CkHttp_SetRequestHeader(http,'Content-Type',contentType);
CkHttp_SetRequestHeader(http,'SOAPAction',soapAction);

resp := CkHttp_PostXml(http,endpoint,soapRequestBody,'utf-8');
if (CkHttp_getLastMethodSuccess(http) = False) then
  begin
    Memo1.Lines.Add(CkHttp__lastErrorText(http));
    Memo1.Lines.Add('Failed to send SOAP request.');
    Exit;
  end;

// Get the XML response body.
responseXml := CkXml_Create();
CkHttpResponse_GetBodyXml(resp,responseXml);

statusCode := CkHttpResponse_getStatusCode(resp);
Memo1.Lines.Add('response status code: ' + IntToStr(statusCode));

CkHttpResponse_Dispose(resp);

// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if (statusCode <> 200) then
  begin
    Memo1.Lines.Add(CkXml__getXml(responseXml));
    Exit;
  end;

Memo1.Lines.Add(CkXml__getXml(responseXml));

// Parse the successful SOAP response XML.

// This is a sample of the response XML, but the namespace prefixes will be different.
// We can parse the result using "*" for the namespace prefixes (see below).

comment := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:comment');
analysisType := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:analysisType');
calibrationEndYear := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:calibrationEndYear');
calibrationStartYear := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:calibrationStartYear');
comment := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:comment');
componentsToRetain := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:componentsToRetain');
creationDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:creationDate');
dailyForecast := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecast');
dailyForecastThreshold := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecastThreshold');
dailyForecastThresholdRelative := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecastThresholdRelative');
dataForcedSeriallyComplete := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dataForcedSeriallyComplete');
degreesOfFreedom := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:degreesOfFreedom');
forecastCondition := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecastCondition');
forecastType := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecastType');
forecaster := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecaster');
functionArgument := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:functionArgument');
functionCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:functionCd');
helperDataSource := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperDataSource');
helperElementCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperElementCd');
helperEndDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndDay');
helperEndMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndMonth');
helperEndYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndYearFlag');
helperMixedPastEndDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndDay');
helperMixedPastEndMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndMonth');
helperMixedPastEndYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndYearFlag');
helperMixedPastStartDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartDay');
helperMixedPastStartMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartMonth');
helperMixedPastStartYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartYearFlag');
helperPredictorUsed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperPredictorUsed');
helperStartDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartDay');
helperStartMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartMonth');
helperStartYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartYearFlag');
helperStationTriplet := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStationTriplet');
helperUsedInOverlappingYears := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperUsedInOverlappingYears');
helperVarianceMatchedToObserved := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperVarianceMatchedToObserved');
jackKnifingUsed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:jackKnifingUsed');
key := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:key');
minimumR2ForPredictor := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:minimumR2ForPredictor');
minimumYearsForPredictor := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:minimumYearsForPredictor');
mixedPastEndDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndDay');
mixedPastEndMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndMonth');
mixedPastEndYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndYearFlag');
mixedPastStartDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartDay');
mixedPastStartMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartMonth');
mixedPastStartYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartYearFlag');
mixedPastUsed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastUsed');
name := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:name');
numYearsUsed := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:numYearsUsed');
optimalWeightingUsed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:optimalWeightingUsed');
overrideAverage := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:overrideAverage');
overrideStderr := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:overrideStderr');
pastFlowRealtime := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:pastFlowRealtime');
customStationListName := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:customStationListName');
dataSourceCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:dataSourceCd');
elementCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:elementCd');
globalMonthChangeAllowed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:globalMonthChangeAllowed');
groupName := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:groupName');
groupNumber := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:groupNumber');
negativeWeightAllowed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:negativeWeightAllowed');
networks := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:networks');
states := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:states');
upstreamForecast := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:upstreamForecast');
endDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endDay');
endMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endMonth');
endYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endYearFlag');
groupNumber := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:groupNumber');
predictorNumber := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:predictorNumber');
predictorUsed := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:predictorUsed');
startDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startDay');
startMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startMonth');
startYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startYearFlag');
stationTriplet := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:stationTriplet');
preprocessingConstant := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:preprocessingConstant');
preprocessingMultiplier := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:preprocessingMultiplier');
publicationCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:publicationCd');
TTestLimit := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:TTestLimit');
targetDataSource := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetDataSource');
targetElementCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetElementCd');
targetEndDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndDay');
targetEndMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndMonth');
targetEndYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndYearFlag');
targetStartDay := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartDay');
targetStartMonth := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartMonth');
targetStartYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartYearFlag');
targetStationName := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStationName');
targetStationTriplet := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStationTriplet');
transformErrorsOnly := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:transformErrorsOnly');
coordinatedForecastIssueDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastIssueDate');
coordinatedForecastProbabilities := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastProbabilities');
coordinatedForecastValues := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastValues');
elementCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:elementCd');
comment := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:comment');
dataSource := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:dataSource');
elementCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:elementCd');
coefficient := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:coefficient');
dataPeriodDays := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataPeriodDays');
dataPeriodMonth := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataPeriodMonth');
dataYearFlag := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataYearFlag');
beginDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:beginDate');
dataPrecision := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:dataPrecision');
duration := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:duration');
elementCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:elementCd');
endDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:endDate');
unitCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:heightDepth|*:unitCd');
value := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:heightDepth|*:value');
ordinal := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:ordinal');
originalUnitCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:originalUnitCd');
stationTriplet := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:stationTriplet');
storedUnitCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:storedUnitCd');
unitCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:unitCd');
upstreamForecast := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:upstreamForecast');
footnotes := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:footnotes');
forecastCondition := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastCondition');
forecastPeriod := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastPeriod');
forecastType := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastType');
v_function := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:function');
functionArgument := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:functionArgument');
interceptConstant := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:interceptConstant');
key := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:key');
maxOfRecord := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:maxOfRecord');
minOfRecord := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:minOfRecord');
monthlyCorrelationCoefficients := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:monthlyCorrelationCoefficients');
monthlyStderrValues := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:monthlyStderrValues');
name := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:name');
day := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:publicationMonthsAndDays|*:day');
month := CkXml_GetChildIntValue(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:publicationMonthsAndDays|*:month');
published := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:published');
stationTriplet := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:stationTriplet');
transformErrorsOnly := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:transformErrorsOnly');
unitCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:unitCd');
forecastFinal := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastFinal');
forecastPeriodCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastPeriodCd');
forecastPeriodName := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastPeriodName');
forecaster := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:forecaster');
hydrologistForecastIssueDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastIssueDate');
hydrologistForecastProbabilities := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastProbabilities');
hydrologistForecastValues := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastValues');
originalForecastIssueDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastIssueDate');
originalForecastProbabilities := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastProbabilities');
originalForecastValues := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastValues');
otherAgencyCds := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:otherAgencyCds');
otherAgencyForecastValues := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:otherAgencyForecastValues');
periodAverage := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:periodAverage');
publicationDate := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:publicationDate');
stationTriplet := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:stationTriplet');
unitCd := CkXml__getChildContent(responseXml,'*:Body|*:getAllForecastsForStationResponse|*:return|*:unitCd');

CkXml_Dispose(xml);
CkHttp_Dispose(http);
CkXml_Dispose(responseXml);

Request XML
<soapenv:Envelope xmlns:awd="http://www.wcc.nrcs.usda.gov/ns/awdbWebService" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header/>
    <soapenv:Body>
        <awd:getAllForecastsForStation>
            <awd:stationTriplet>string</awd:stationTriplet>
            <awd:beginPublicationDate>string</awd:beginPublicationDate>
            <awd:endPublicationDate>string</awd:endPublicationDate>
        </awd:getAllForecastsForStation>
    </soapenv:Body>
</soapenv:Envelope>
Response XML
<soapenv:Envelope xmlns:awd="http://www.wcc.nrcs.usda.gov/ns/awdbWebService" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header/>
    <soapenv:Body>
        <awd:getAllForecastsForStationResponse>
            <awd:return>
                <awd:comment>string</awd:comment>
                <awd:configuration>
                    <awd:analysisType>string</awd:analysisType>
                    <awd:calibrationEndYear>1042</awd:calibrationEndYear>
                    <awd:calibrationStartYear>1042</awd:calibrationStartYear>
                    <awd:comment>string</awd:comment>
                    <awd:componentsToRetain>1042</awd:componentsToRetain>
                    <awd:creationDate>string</awd:creationDate>
                    <awd:dailyForecast>true</awd:dailyForecast>
                    <awd:dailyForecastThreshold>99.0</awd:dailyForecastThreshold>
                    <awd:dailyForecastThresholdRelative>true</awd:dailyForecastThresholdRelative>
                    <awd:dataForcedSeriallyComplete>true</awd:dataForcedSeriallyComplete>
                    <awd:degreesOfFreedom>1042</awd:degreesOfFreedom>
                    <awd:forecastCondition>string</awd:forecastCondition>
                    <awd:forecastType>string</awd:forecastType>
                    <awd:forecaster>string</awd:forecaster>
                    <awd:functionArgument>99.0</awd:functionArgument>
                    <awd:functionCd>string</awd:functionCd>
                    <awd:helperDataSource>string</awd:helperDataSource>
                    <awd:helperElementCd>string</awd:helperElementCd>
                    <awd:helperEndDay>1042</awd:helperEndDay>
                    <awd:helperEndMonth>1042</awd:helperEndMonth>
                    <awd:helperEndYearFlag>string</awd:helperEndYearFlag>
                    <awd:helperMixedPastEndDay>1042</awd:helperMixedPastEndDay>
                    <awd:helperMixedPastEndMonth>1042</awd:helperMixedPastEndMonth>
                    <awd:helperMixedPastEndYearFlag>string</awd:helperMixedPastEndYearFlag>
                    <awd:helperMixedPastStartDay>1042</awd:helperMixedPastStartDay>
                    <awd:helperMixedPastStartMonth>1042</awd:helperMixedPastStartMonth>
                    <awd:helperMixedPastStartYearFlag>string</awd:helperMixedPastStartYearFlag>
                    <awd:helperPredictorUsed>true</awd:helperPredictorUsed>
                    <awd:helperStartDay>1042</awd:helperStartDay>
                    <awd:helperStartMonth>1042</awd:helperStartMonth>
                    <awd:helperStartYearFlag>string</awd:helperStartYearFlag>
                    <awd:helperStationTriplet>string</awd:helperStationTriplet>
                    <awd:helperUsedInOverlappingYears>true</awd:helperUsedInOverlappingYears>
                    <awd:helperVarianceMatchedToObserved>true</awd:helperVarianceMatchedToObserved>
                    <awd:jackKnifingUsed>true</awd:jackKnifingUsed>
                    <awd:key>1042</awd:key>
                    <awd:minimumR2ForPredictor>99.0</awd:minimumR2ForPredictor>
                    <awd:minimumYearsForPredictor>1042</awd:minimumYearsForPredictor>
                    <awd:mixedPastEndDay>1042</awd:mixedPastEndDay>
                    <awd:mixedPastEndMonth>1042</awd:mixedPastEndMonth>
                    <awd:mixedPastEndYearFlag>string</awd:mixedPastEndYearFlag>
                    <awd:mixedPastStartDay>1042</awd:mixedPastStartDay>
                    <awd:mixedPastStartMonth>1042</awd:mixedPastStartMonth>
                    <awd:mixedPastStartYearFlag>string</awd:mixedPastStartYearFlag>
                    <awd:mixedPastUsed>true</awd:mixedPastUsed>
                    <awd:name>string</awd:name>
                    <awd:numYearsUsed>1042</awd:numYearsUsed>
                    <awd:optimalWeightingUsed>true</awd:optimalWeightingUsed>
                    <awd:overrideAverage>99.0</awd:overrideAverage>
                    <awd:overrideStderr>99.0</awd:overrideStderr>
                    <awd:pastFlowRealtime>99.0</awd:pastFlowRealtime>
                    <awd:predictorGroups>
                        <awd:customStationListName>string</awd:customStationListName>
                        <awd:dataSourceCd>string</awd:dataSourceCd>
                        <awd:elementCd>string</awd:elementCd>
                        <awd:globalMonthChangeAllowed>true</awd:globalMonthChangeAllowed>
                        <awd:groupName>string</awd:groupName>
                        <awd:groupNumber>1042</awd:groupNumber>
                        <awd:negativeWeightAllowed>true</awd:negativeWeightAllowed>
                        <awd:networks>string</awd:networks>
                        <awd:states>string</awd:states>
                        <awd:upstreamForecast>true</awd:upstreamForecast>
                    </awd:predictorGroups>
                    <awd:predictors>
                        <awd:endDay>1042</awd:endDay>
                        <awd:endMonth>1042</awd:endMonth>
                        <awd:endYearFlag>string</awd:endYearFlag>
                        <awd:groupNumber>1042</awd:groupNumber>
                        <awd:predictorNumber>1042</awd:predictorNumber>
                        <awd:predictorUsed>true</awd:predictorUsed>
                        <awd:startDay>1042</awd:startDay>
                        <awd:startMonth>1042</awd:startMonth>
                        <awd:startYearFlag>string</awd:startYearFlag>
                        <awd:stationTriplet>string</awd:stationTriplet>
                    </awd:predictors>
                    <awd:preprocessingConstant>99.0</awd:preprocessingConstant>
                    <awd:preprocessingMultiplier>99.0</awd:preprocessingMultiplier>
                    <awd:publicationCd>string</awd:publicationCd>
                    <awd:TTestLimit>99.0</awd:TTestLimit>
                    <awd:targetDataSource>string</awd:targetDataSource>
                    <awd:targetElementCd>string</awd:targetElementCd>
                    <awd:targetEndDay>1042</awd:targetEndDay>
                    <awd:targetEndMonth>1042</awd:targetEndMonth>
                    <awd:targetEndYearFlag>string</awd:targetEndYearFlag>
                    <awd:targetStartDay>1042</awd:targetStartDay>
                    <awd:targetStartMonth>1042</awd:targetStartMonth>
                    <awd:targetStartYearFlag>string</awd:targetStartYearFlag>
                    <awd:targetStationName>string</awd:targetStationName>
                    <awd:targetStationTriplet>string</awd:targetStationTriplet>
                    <awd:transformErrorsOnly>true</awd:transformErrorsOnly>
                </awd:configuration>
                <awd:coordinatedForecastIssueDate>string</awd:coordinatedForecastIssueDate>
                <awd:coordinatedForecastProbabilities>99.0</awd:coordinatedForecastProbabilities>
                <awd:coordinatedForecastValues>99.0</awd:coordinatedForecastValues>
                <awd:elementCd>string</awd:elementCd>
                <awd:equation>
                    <awd:comment>string</awd:comment>
                    <awd:dataSource>string</awd:dataSource>
                    <awd:elementCd>string</awd:elementCd>
                    <awd:equationTerms>
                        <awd:coefficient>99.0</awd:coefficient>
                        <awd:dataPeriodDays>string</awd:dataPeriodDays>
                        <awd:dataPeriodMonth>string</awd:dataPeriodMonth>
                        <awd:dataYearFlag>string</awd:dataYearFlag>
                        <awd:stationElement>
                            <awd:beginDate>string</awd:beginDate>
                            <awd:dataPrecision>1042</awd:dataPrecision>
                            <awd:duration>DAILY</awd:duration>
                            <awd:elementCd>string</awd:elementCd>
                            <awd:endDate>string</awd:endDate>
                            <awd:heightDepth>
                                <awd:unitCd>string</awd:unitCd>
                                <awd:value>99.0</awd:value>
                            </awd:heightDepth>
                            <awd:ordinal>1042</awd:ordinal>
                            <awd:originalUnitCd>string</awd:originalUnitCd>
                            <awd:stationTriplet>string</awd:stationTriplet>
                            <awd:storedUnitCd>string</awd:storedUnitCd>
                        </awd:stationElement>
                        <awd:unitCd>string</awd:unitCd>
                        <awd:upstreamForecast>true</awd:upstreamForecast>
                    </awd:equationTerms>
                    <awd:footnotes>string</awd:footnotes>
                    <awd:forecastCondition>string</awd:forecastCondition>
                    <awd:forecastPeriod>string</awd:forecastPeriod>
                    <awd:forecastType>string</awd:forecastType>
                    <awd:function>string</awd:function>
                    <awd:functionArgument>99.0</awd:functionArgument>
                    <awd:interceptConstant>99.0</awd:interceptConstant>
                    <awd:key>1042</awd:key>
                    <awd:maxOfRecord>99.0</awd:maxOfRecord>
                    <awd:minOfRecord>99.0</awd:minOfRecord>
                    <awd:monthlyCorrelationCoefficients>99.0</awd:monthlyCorrelationCoefficients>
                    <awd:monthlyStderrValues>99.0</awd:monthlyStderrValues>
                    <awd:name>string</awd:name>
                    <awd:publicationMonthsAndDays>
                        <awd:day>1042</awd:day>
                        <awd:month>1042</awd:month>
                    </awd:publicationMonthsAndDays>
                    <awd:published>true</awd:published>
                    <awd:stationTriplet>string</awd:stationTriplet>
                    <awd:transformErrorsOnly>true</awd:transformErrorsOnly>
                    <awd:unitCd>string</awd:unitCd>
                </awd:equation>
                <awd:forecastFinal>true</awd:forecastFinal>
                <awd:forecastPeriodCd>string</awd:forecastPeriodCd>
                <awd:forecastPeriodName>string</awd:forecastPeriodName>
                <awd:forecaster>string</awd:forecaster>
                <awd:hydrologistForecastIssueDate>string</awd:hydrologistForecastIssueDate>
                <awd:hydrologistForecastProbabilities>99.0</awd:hydrologistForecastProbabilities>
                <awd:hydrologistForecastValues>99.0</awd:hydrologistForecastValues>
                <awd:originalForecastIssueDate>string</awd:originalForecastIssueDate>
                <awd:originalForecastProbabilities>99.0</awd:originalForecastProbabilities>
                <awd:originalForecastValues>99.0</awd:originalForecastValues>
                <awd:otherAgencyCds>string</awd:otherAgencyCds>
                <awd:otherAgencyForecastValues>99.0</awd:otherAgencyForecastValues>
                <awd:periodAverage>99.0</awd:periodAverage>
                <awd:publicationDate>string</awd:publicationDate>
                <awd:stationTriplet>string</awd:stationTriplet>
                <awd:unitCd>string</awd:unitCd>
            </awd:return>
        </awd:getAllForecastsForStationResponse>
    </soapenv:Body>
</soapenv:Envelope>