Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Weather Web Service

Weather Web Service

Scheduled Pinned Locked Moved WPF
csharpwpfquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Etienne_123
    wrote on last edited by
    #1

    Does anybody know of a working Weather Web Service that I can use in my WPF app? I've tried numerous ones but none seem to be available when I try to add a reference to it.

    T 1 Reply Last reply
    0
    • E Etienne_123

      Does anybody know of a working Weather Web Service that I can use in my WPF app? I've tried numerous ones but none seem to be available when I try to add a reference to it.

      T Offline
      T Offline
      teejayem
      wrote on last edited by
      #2

      Here are a couple that i've found. http://www.nws.noaa.gov/forecasts/xml/[^] http://weather.weatherbug.com/desktop-weather/api.html[^]

      Don't be overcome by evil, but overcome evil with good

      E 1 Reply Last reply
      0
      • T teejayem

        Here are a couple that i've found. http://www.nws.noaa.gov/forecasts/xml/[^] http://weather.weatherbug.com/desktop-weather/api.html[^]

        Don't be overcome by evil, but overcome evil with good

        E Offline
        E Offline
        Etienne_123
        wrote on last edited by
        #3

        Thanks I'll try them out. I've been trying the GlobalWeather service from WebServiceX, and I get it working to display the following in a textbox: <?xml version="1.0" encoding="utf-16"?><CurrentWeather> <Location>Port Elizabeth, Port E Apt, South Africa (FAPE) 33-59S 025-36E 0M</Location> <Time>Nov 13, 2009 - 09:00 AM EST / 2009.11.13 1400 UTC</Time> <SkyConditions> mostly cloudy</SkyConditions> <Temperature> 68 F (20 C)</Temperature> <DewPoint> 55 F (13 C)</DewPoint> <RelativeHumidity> 64%</RelativeHumidity> <Pressure> 29.91 in. Hg (1013 hPa)</Pressure> <Status>Success</Status></CurrentWeather> Does all web services return information in this way or not? I'm quite new to them. If yes, how can I show this data in a more understandable format e.g. in textboxes?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups