<===================== READ ME =====================>
THIS IS A WEATHER FORECAST APPLICATION MADE IN PYTHON. THE APPLICATION SENDS A SOAP REQUEST TO NDFD SERVER AND RECIEVES A SOAP RESPONSE. THE RESPONSE WILL INCLUDE THE FORECAST DATA PROVIDED BY THE NWS.
FOR MORE INFORMATION VISIT - https://graphical.weather.gov/xml/
THE APPLICATION IS INTENDED FOR LEARNING SOAP XML REQUEST/RESPONSE.
/* CONTENTS :
WeatherForecast.py - PYTHON APPLICATION TO SEND SOAP REQUEST TO WEATHER INFORMATION SERVER AND RETRIEVE SOAP RESPONSE AND SAVE IT ON LOCAL DEVICE.
*/
/* INSTRUCTIONS TO RUN APPLICATION
- OPEN 'WeatherForecast.py' IN A CODE EDITOR.
- SPECIFY THE PATH AT WHICH XML MUST BE CREATED AT LINE 88. (LEAVE THE PATH AS SUCH IF YOU HAVE APACHE AND WANT TO VIEW XML USING XAMPP)
- RUN THE APPLICATION. THE OUTPUT WILL BE GENERATED AT THE END OF EXECUTION. */
/* INSTRUCTION TO VIEW XML
METHOD - USING XAMPP (APACHE)
- RUN THE PYTHON APPLICATION
- RUN APACHE SERVER
- OPEN BRWSER AND GO TO "http://localhost/WeatherInfo.xml"
METHOD - OPEN XML MANUALLY
- OPEN CODE IN PYTHON EDITOR
- CHANGE " location = "C:/xampp/htdocs/WeatherInfo.xml" " TO " location = "WeatherInfo.xml " AT LINE 88
- XML FILE WILL BE GENERATED ON THE SAME FOLDER WHERE CODE IS PRESENT.
- OPEN THE XML USING A BROWSER */