M
MattB
Hi. I'm trying to write a web form that will consumer the NOAA's web
service. I keep getting a timeout from my .net stuff, but their demo
seems to be getting live data, so I suspect I'm doing something wrong.
Have any of you ever done this?
I have a web reference to their wsdl
(http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl) and
the following code always times out:
Dim oWeather As New gov.noaa.nws.www.ndfdXML
Dim strReturn As String
Try
strReturn =
oWeather.NDFDgenByDay(38.32,-106.56,"2004-12-30", 1,
gov.noaa.nws.www.formatType.Item12hourly)
Catch ex As Exception
strReturn = ex.Message
End Try
lblweather.Text = strReturn
service. I keep getting a timeout from my .net stuff, but their demo
seems to be getting live data, so I suspect I'm doing something wrong.
Have any of you ever done this?
I have a web reference to their wsdl
(http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl) and
the following code always times out:
Dim oWeather As New gov.noaa.nws.www.ndfdXML
Dim strReturn As String
Try
strReturn =
oWeather.NDFDgenByDay(38.32,-106.56,"2004-12-30", 1,
gov.noaa.nws.www.formatType.Item12hourly)
Catch ex As Exception
strReturn = ex.Message
End Try
lblweather.Text = strReturn