To generate a 5-day forecast for a given set of gps


Objective:

To generate a 5-day forecast for a given set of GPS coordinates, by communicating with a web service coded in WSDL (Web Service Description Language) to retrieve information by means of sending a SOAP (Simple Object Access Protocol) client message, invoking one of the server's functions to obtain information.

Input:

• XML request containing a SOAP message which inputs appropriate information to the web service as required.

Output:

• XML response containing a SOAP message with values of appropriate requested parameters.

• XSLT table for the Web service method derived from the SOAP response message.

Specification:

• The SOAP message requests information from the National Digital Forecast Database (NDFD) Web Service at:
https://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl by specifying the appropriate parameters for the method:

• Use either: (i) the SOAP message generator: https://www.soapclient.com/soapmsg.html, or (ii) the SOAPui application (in the lab or downloaded from https://soapui.orgto a home computer) to generate a template SOAP message based on the above WSDL file and the NDFDgenByDay method, then fill in the placeholders between the appropriate XML tags before executing to generate a response SOAP message.

• Use the XSLT display editor to display each appropriate table by replacing the XML and XSLT code:
https://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog. Note: this requires stripping off (i) everything before the tag; (ii) the ... tags and values

(the "&" causes trouble); (iii) everything after the tag. This makes the root element in the XML file.

• Hint: to get the value of an attribute, use • Hint: to select a particular set of times, filter the selection, use , replacing ... with the value of the element layout-key

• To display an image in XSLT, use where URL represents the appropriate hyperlink.

• To force a newline, one way is to create a blank table:

, repeating for each blank line desired.

What to turn in:

• A zipped file (tech2_yourlastname.zip) containing both the modified XML code (tech2_yourlastname.xml) generated from the SOAP response method and the XSLT code (tech2_yourlastname.xsl) submitted via Moodle to the appropriate lab section.

5-Day Weather Forecast for GPS Location (34.23 , -118.52)

Temperature

Wednesday

Thursday

Friday

Saturday

Sunday

Daily Maximum Temperature

82

88

83

78

78

Daily Minimum Temperature

54

56

57

56

56

Conditions

Tuesday Night

Wednesday

Wednesday Night

Thursday

Thursday Night

Friday

Friday Night

Saturday

Saturday Night

Sunday

12 Hourly Probability of Precipitation

3

2

0

0

0

0

0

0

0

0

Weather Type, Coverage, and Intensity

Mostly Clear

Mostly Sunny

Mostly Clear

Mostly Sunny

Mostly Clear

Mostly Sunny

Patchy Fog

Mostly Sunny

Patchy Fog

Mostly Sunny

Conditions Icons

658_Wether.jpg

Request for Solution File

Ask an Expert for Answer!!
: To generate a 5-day forecast for a given set of gps
Reference No:- TGS01412466

Expected delivery within 24 Hours