Need help with Webservices and Xml.
Hi i am having a Xml file Contains information about Mountain names and Data about that mountains. I am getting problem to display information stored in the xml files. Actually i am provided with an Xml file and another file which is saying as webservice.
The following is the structure of my Xml file.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMountainWeather xmlns="http://co72053.org/HillWeatherServiceA">
<Mountain>string</Mountain>
</GetMountainWeather>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMountainWeatherResponse xmlns="http://co72053.org/HillWeatherServiceA">
<GetMountainWeatherResult>
<Name>string</Name>
<WeatherInformation>
<Description>string</Description>
<Temperature>int</Temperature>
<WindInformation>
<Direction>string</Direction>
<Speed>int</Speed>
</WindInformation>
</WeatherInformation>
</GetMountainWeatherResult>
</GetMountainWeatherResponse>
</soap:Body>
</soap:Envelope>
I need to display the information like
Name
Description
Temperature
Direction
Speed
Could any body give me a hint to finish the work.I need to display all these in a console application.
Thanks bye-Ashok
|