Reference no: EM131066647
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 <data> tag; (ii) the <moreWeatherInformation>...</moreWeatherInformation> tags and values
(the "&" causes trouble); (iii) everything after the </data>tag. This makes <data> the root element in the XML file.
• Hint: to get the value of an attribute, use <xsl:value of select="path to tag/@name_of_attribute/>
• Hint: to select a particular set of times, filter the selection, use <xsl:for-each select="data/time-layout[layout-key='...']">, replacing ... with the value of the element layout-key
• To display an image in XSLT, use <img><xsl:attribute name="src"><xsl:value-of select="URL"/></xsl:attribute>where URL represents the appropriate hyperlink.
• To force a newline, one way is to create a blank table: <table><tr></tr></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
|
|
Describe risk-related issues associated with cloud computing
: Isn't hard to appreciate something when criminals continue to take advantage of this resource. Shirin and class, according to chapter 1, please describe the risk-related issues associated with cloud computing?
|
Siblings create and share a secret language
: Raise your hand if you've read Jabberwockyby Lewis Carroll. Okay, for those of you who haven't, here's a By Lewis Carroll - Read by Benedict Cumberbatch of the poem read byBenedict (Sherlock Holmes) Cumberbatch that includes the text. Listen and r..
|
Explain the level of economic development of egypt
: Explain the level of economic development of Egypt. Identify and explain the macro-political and economic changes that have occurred in Egypt. Describe the economic transition Egypt is going through? Are they moving forward towards a more market-base..
|
Linear relation between the number of visits
: Use the "Regression" function in Excel and the data presented above to estimate the linear relation between the number of visits and the age of the patients. Examine the results of the analysis by
|
Generate five-day forecast for given set of gps coordinates
: To generate a 5-day forecast for a given set of GPS coordinates, by communicating with a web service coded in WSDL to retrieve information by means of sending a SOAP client message, invoking one of the server's functions to obtain information.
|
Type of data each question produces
: This is a question relating to Statistics. A survey of golfers asked the following questions. Identify the type of data each question produces.
|
Download times for the three different types
: A student team in a business statistics course wanted to determine if there was a difference in average download times for the three different types of computers (Mac, iMac, and Dell) available at the university library.
|
Demonstrate application of relevant concepts
: This assignment is focused on the written production of an academic research proposal. Within this proposal students are required to demonstrate application of relevant concepts covered in this unit. Detailed instructions will be available on LMS.
|
What is the expected loss per exposure
: Y2K Inc. has estimated that half of their twenty workers will be injured in the coming year. The expected severity per occurrence is $1,000. What is the expected loss per exposure?
|