var os = require('os');
if (os.platform() == 'win32') {
if (os.arch() == 'ia32') {
var chilkat = require('@chilkat/ck-node21-win-ia32');
} else {
var chilkat = require('@chilkat/ck-node21-win64');
}
} else if (os.platform() == 'linux') {
if (os.arch() == 'arm') {
var chilkat = require('@chilkat/ck-node21-arm');
} else if (os.arch() == 'x86') {
var chilkat = require('@chilkat/ck-node21-linux32');
} else {
var chilkat = require('@chilkat/ck-node21-linux64');
}
} else if (os.platform() == 'darwin') {
if (os.arch() == 'arm64') {
var chilkat = require('@chilkat/ck-node21-mac-m1');
} else {
var chilkat = require('@chilkat/ck-node21-macosx');
}
}
function chilkatExample() {
var xml = new chilkat.Xml();
xml.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.EmitXmlDecl = false;
var soapRequestBody = xml.GetXml();
var endpoint = "https://wcc.sc.egov.usda.gov/awdbWebService/services";
var soapAction = "";
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"var contentType = "text/xml";
var http = new chilkat.Http();
http.ClearHeaders();
http.SetRequestHeader("Content-Type",contentType);
http.SetRequestHeader("SOAPAction",soapAction);
// resp: HttpResponsevar resp = http.PostXml(endpoint,soapRequestBody,"utf-8");
if (http.LastMethodSuccess == false) {
console.log(http.LastErrorText);
console.log("Failed to send SOAP request.");
return;
}
// Get the XML response body.var responseXml = new chilkat.Xml();
resp.GetBodyXml(responseXml);
var statusCode = resp.StatusCode;
console.log("response status code: " + statusCode);
// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.if (statusCode !== 200) {
console.log(responseXml.GetXml());
return;
}
console.log(responseXml.GetXml());
// 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).var comment = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:comment");
var analysisType = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:analysisType");
var calibrationEndYear = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:calibrationEndYear");
var calibrationStartYear = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:calibrationStartYear");
comment = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:comment");
var componentsToRetain = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:componentsToRetain");
var creationDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:creationDate");
var dailyForecast = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecast");
var dailyForecastThreshold = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecastThreshold");
var dailyForecastThresholdRelative = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dailyForecastThresholdRelative");
var dataForcedSeriallyComplete = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:dataForcedSeriallyComplete");
var degreesOfFreedom = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:degreesOfFreedom");
var forecastCondition = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecastCondition");
var forecastType = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecastType");
var forecaster = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:forecaster");
var functionArgument = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:functionArgument");
var functionCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:functionCd");
var helperDataSource = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperDataSource");
var helperElementCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperElementCd");
var helperEndDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndDay");
var helperEndMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndMonth");
var helperEndYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperEndYearFlag");
var helperMixedPastEndDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndDay");
var helperMixedPastEndMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndMonth");
var helperMixedPastEndYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastEndYearFlag");
var helperMixedPastStartDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartDay");
var helperMixedPastStartMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartMonth");
var helperMixedPastStartYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperMixedPastStartYearFlag");
var helperPredictorUsed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperPredictorUsed");
var helperStartDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartDay");
var helperStartMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartMonth");
var helperStartYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStartYearFlag");
var helperStationTriplet = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperStationTriplet");
var helperUsedInOverlappingYears = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperUsedInOverlappingYears");
var helperVarianceMatchedToObserved = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:helperVarianceMatchedToObserved");
var jackKnifingUsed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:jackKnifingUsed");
var key = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:key");
var minimumR2ForPredictor = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:minimumR2ForPredictor");
var minimumYearsForPredictor = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:minimumYearsForPredictor");
var mixedPastEndDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndDay");
var mixedPastEndMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndMonth");
var mixedPastEndYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastEndYearFlag");
var mixedPastStartDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartDay");
var mixedPastStartMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartMonth");
var mixedPastStartYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastStartYearFlag");
var mixedPastUsed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:mixedPastUsed");
var name = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:name");
var numYearsUsed = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:numYearsUsed");
var optimalWeightingUsed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:optimalWeightingUsed");
var overrideAverage = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:overrideAverage");
var overrideStderr = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:overrideStderr");
var pastFlowRealtime = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:pastFlowRealtime");
var customStationListName = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:customStationListName");
var dataSourceCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:dataSourceCd");
var elementCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:elementCd");
var globalMonthChangeAllowed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:globalMonthChangeAllowed");
var groupName = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:groupName");
var groupNumber = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:groupNumber");
var negativeWeightAllowed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:negativeWeightAllowed");
var networks = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:networks");
var states = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:states");
var upstreamForecast = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictorGroups|*:upstreamForecast");
var endDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endDay");
var endMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endMonth");
var endYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:endYearFlag");
groupNumber = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:groupNumber");
var predictorNumber = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:predictorNumber");
var predictorUsed = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:predictorUsed");
var startDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startDay");
var startMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startMonth");
var startYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:startYearFlag");
var stationTriplet = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:predictors|*:stationTriplet");
var preprocessingConstant = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:preprocessingConstant");
var preprocessingMultiplier = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:preprocessingMultiplier");
var publicationCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:publicationCd");
var TTestLimit = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:TTestLimit");
var targetDataSource = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetDataSource");
var targetElementCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetElementCd");
var targetEndDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndDay");
var targetEndMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndMonth");
var targetEndYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetEndYearFlag");
var targetStartDay = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartDay");
var targetStartMonth = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartMonth");
var targetStartYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStartYearFlag");
var targetStationName = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStationName");
var targetStationTriplet = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:targetStationTriplet");
var transformErrorsOnly = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:configuration|*:transformErrorsOnly");
var coordinatedForecastIssueDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastIssueDate");
var coordinatedForecastProbabilities = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastProbabilities");
var coordinatedForecastValues = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:coordinatedForecastValues");
elementCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:elementCd");
comment = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:comment");
var dataSource = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:dataSource");
elementCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:elementCd");
var coefficient = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:coefficient");
var dataPeriodDays = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataPeriodDays");
var dataPeriodMonth = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataPeriodMonth");
var dataYearFlag = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:dataYearFlag");
var beginDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:beginDate");
var dataPrecision = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:dataPrecision");
var duration = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:duration");
elementCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:elementCd");
var endDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:endDate");
var unitCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:heightDepth|*:unitCd");
var value = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:heightDepth|*:value");
var ordinal = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:ordinal");
var originalUnitCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:originalUnitCd");
stationTriplet = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:equationTerms|*:stationElement|*:stationTriplet");
var 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");
var footnotes = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:footnotes");
forecastCondition = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastCondition");
var forecastPeriod = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastPeriod");
forecastType = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:forecastType");
var v_function = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:function");
functionArgument = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:functionArgument");
var interceptConstant = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:interceptConstant");
key = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:key");
var maxOfRecord = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:maxOfRecord");
var minOfRecord = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:minOfRecord");
var monthlyCorrelationCoefficients = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:monthlyCorrelationCoefficients");
var monthlyStderrValues = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:monthlyStderrValues");
name = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:name");
var day = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:publicationMonthsAndDays|*:day");
var month = responseXml.GetChildIntValue("*:Body|*:getAllForecastsForStationResponse|*:return|*:equation|*:publicationMonthsAndDays|*:month");
var 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");
var forecastFinal = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastFinal");
var forecastPeriodCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastPeriodCd");
var forecastPeriodName = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecastPeriodName");
forecaster = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:forecaster");
var hydrologistForecastIssueDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastIssueDate");
var hydrologistForecastProbabilities = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastProbabilities");
var hydrologistForecastValues = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:hydrologistForecastValues");
var originalForecastIssueDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastIssueDate");
var originalForecastProbabilities = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastProbabilities");
var originalForecastValues = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:originalForecastValues");
var otherAgencyCds = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:otherAgencyCds");
var otherAgencyForecastValues = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:otherAgencyForecastValues");
var periodAverage = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:periodAverage");
var publicationDate = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:publicationDate");
stationTriplet = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:stationTriplet");
unitCd = responseXml.GetChildContent("*:Body|*:getAllForecastsForStationResponse|*:return|*:unitCd");
}
chilkatExample();