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
use chilkat();
$xml = chilkat::CkXml->new();
$xml->put_Tag("soapenv:Envelope");
$xml->AddAttribute("xmlns:awd","http://www.wcc.nrcs.usda.gov/ns/awdbWebService");
$xml->AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/");
$xml->UpdateChildContent("soapenv:Header","");
$xml->UpdateChildContent("soapenv:Body|awd:getAllForecastsForStation|awd:stationTriplet","string");
$xml->UpdateChildContent("soapenv:Body|awd:getAllForecastsForStation|awd:beginPublicationDate","string");
$xml->UpdateChildContent("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.
$xml->put_EmitXmlDecl(0);
$soapRequestBody = $xml->getXml();
$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 = chilkat::CkHttp->new();
$http->ClearHeaders();
$http->SetRequestHeader("Content-Type",$contentType);
$http->SetRequestHeader("SOAPAction",$soapAction);
# resp is a HttpResponse
$resp = $http->PostXml($endpoint,$soapRequestBody,"utf-8");
if ($http->get_LastMethodSuccess() == 0) {
print $http->lastErrorText() . "\r\n";
print "Failed to send SOAP request." . "\r\n";
exit;
}
# Get the XML response body.
$responseXml = chilkat::CkXml->new();
$resp->GetBodyXml($responseXml);
$statusCode = $resp->get_StatusCode();
print "response status code: " . $statusCode . "\r\n";
# If the status code does not indicate succcess, then show the response XML,
# which probably contains error information.
if ($statusCode != 200) {
print $responseXml->getXml() . "\r\n";
exit;
}
print $responseXml->getXml() . "\r\n";
# 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 = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:comment");
$analysisType = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:analysisType");
$calibrationEndYear = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:calibrationEndYear");
$calibrationStartYear = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:calibrationStartYear");
$comment = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:comment");
$componentsToRetain = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:componentsToRetain");
$creationDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:creationDate");
$dailyForecast = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecast");
$dailyForecastThreshold = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecastThreshold");
$dailyForecastThresholdRelative = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecastThresholdRelative");
$dataForcedSeriallyComplete = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dataForcedSeriallyComplete");
$degreesOfFreedom = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:degreesOfFreedom");
$forecastCondition = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecastCondition");
$forecastType = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecastType");
$forecaster = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecaster");
$functionArgument = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:functionArgument");
$functionCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:functionCd");
$helperDataSource = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperDataSource");
$helperElementCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperElementCd");
$helperEndDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndDay");
$helperEndMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndMonth");
$helperEndYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndYearFlag");
$helperMixedPastEndDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndDay");
$helperMixedPastEndMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndMonth");
$helperMixedPastEndYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndYearFlag");
$helperMixedPastStartDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartDay");
$helperMixedPastStartMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartMonth");
$helperMixedPastStartYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartYearFlag");
$helperPredictorUsed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperPredictorUsed");
$helperStartDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartDay");
$helperStartMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartMonth");
$helperStartYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartYearFlag");
$helperStationTriplet = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStationTriplet");
$helperUsedInOverlappingYears = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperUsedInOverlappingYears");
$helperVarianceMatchedToObserved = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperVarianceMatchedToObserved");
$jackKnifingUsed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:jackKnifingUsed");
$key = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:key");
$minimumR2ForPredictor = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:minimumR2ForPredictor");
$minimumYearsForPredictor = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:minimumYearsForPredictor");
$mixedPastEndDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndDay");
$mixedPastEndMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndMonth");
$mixedPastEndYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndYearFlag");
$mixedPastStartDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartDay");
$mixedPastStartMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartMonth");
$mixedPastStartYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartYearFlag");
$mixedPastUsed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastUsed");
$name = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:name");
$numYearsUsed = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:numYearsUsed");
$optimalWeightingUsed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:optimalWeightingUsed");
$overrideAverage = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:overrideAverage");
$overrideStderr = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:overrideStderr");
$pastFlowRealtime = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:pastFlowRealtime");
$customStationListName = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:customStationListName");
$dataSourceCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:dataSourceCd");
$elementCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:elementCd");
$globalMonthChangeAllowed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:globalMonthChangeAllowed");
$groupName = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:groupName");
$groupNumber = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:groupNumber");
$negativeWeightAllowed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:negativeWeightAllowed");
$networks = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:networks");
$states = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:states");
$upstreamForecast = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:upstreamForecast");
$endDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endDay");
$endMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endMonth");
$endYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endYearFlag");
$groupNumber = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:groupNumber");
$predictorNumber = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:predictorNumber");
$predictorUsed = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:predictorUsed");
$startDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startDay");
$startMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startMonth");
$startYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startYearFlag");
$stationTriplet = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:stationTriplet");
$preprocessingConstant = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:preprocessingConstant");
$preprocessingMultiplier = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:preprocessingMultiplier");
$publicationCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:publicationCd");
$TTestLimit = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:TTestLimit");
$targetDataSource = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetDataSource");
$targetElementCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetElementCd");
$targetEndDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndDay");
$targetEndMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndMonth");
$targetEndYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndYearFlag");
$targetStartDay = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartDay");
$targetStartMonth = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartMonth");
$targetStartYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartYearFlag");
$targetStationName = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStationName");
$targetStationTriplet = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStationTriplet");
$transformErrorsOnly = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:transformErrorsOnly");
$coordinatedForecastIssueDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastIssueDate");
$coordinatedForecastProbabilities = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastProbabilities");
$coordinatedForecastValues = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastValues");
$elementCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:elementCd");
$comment = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:comment");
$dataSource = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:dataSource");
$elementCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:elementCd");
$coefficient = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:coefficient");
$dataPeriodDays = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataPeriodDays");
$dataPeriodMonth = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataPeriodMonth");
$dataYearFlag = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataYearFlag");
$beginDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:beginDate");
$dataPrecision = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:dataPrecision");
$duration = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:duration");
$elementCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:elementCd");
$endDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:endDate");
$unitCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:heightDepth|*:unitCd");
$value = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:heightDepth|*:value");
$ordinal = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:ordinal");
$originalUnitCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:originalUnitCd");
$stationTriplet = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:stationTriplet");
$storedUnitCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:storedUnitCd");
$unitCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:unitCd");
$upstreamForecast = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:upstreamForecast");
$footnotes = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:footnotes");
$forecastCondition = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastCondition");
$forecastPeriod = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastPeriod");
$forecastType = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastType");
$v_function = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:function");
$functionArgument = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:functionArgument");
$interceptConstant = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:interceptConstant");
$key = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:key");
$maxOfRecord = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:maxOfRecord");
$minOfRecord = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:minOfRecord");
$monthlyCorrelationCoefficients = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:monthlyCorrelationCoefficients");
$monthlyStderrValues = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:monthlyStderrValues");
$name = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:name");
$day = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:publicationMonthsAndDays|*:day");
$month = $responseXml->GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:publicationMonthsAndDays|*:month");
$published = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:published");
$stationTriplet = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:stationTriplet");
$transformErrorsOnly = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:transformErrorsOnly");
$unitCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:unitCd");
$forecastFinal = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastFinal");
$forecastPeriodCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastPeriodCd");
$forecastPeriodName = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastPeriodName");
$forecaster = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecaster");
$hydrologistForecastIssueDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastIssueDate");
$hydrologistForecastProbabilities = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastProbabilities");
$hydrologistForecastValues = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastValues");
$originalForecastIssueDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastIssueDate");
$originalForecastProbabilities = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastProbabilities");
$originalForecastValues = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastValues");
$otherAgencyCds = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:otherAgencyCds");
$otherAgencyForecastValues = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:otherAgencyForecastValues");
$periodAverage = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:periodAverage");
$publicationDate = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:publicationDate");
$stationTriplet = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:stationTriplet");
$unitCd = $responseXml->getChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:unitCd");
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>