Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2006, 12:25 AM
Authorized User
 
Join Date: Feb 2005
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default 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
 
Old December 8th, 2006, 10:24 PM
Authorized User
 
Join Date: Feb 2005
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default

Hi ok guys i tried to solve the problem.I need to run the xml file directly from the server.Not from my local system.
Bye-Ashok





Similar Threads
Thread Thread Starter Forum Replies Last Post
checking webservices raju@wrocks C# 0 December 13th, 2006 03:13 AM
Encoding -webservices-why ? raghuraman_ace ASP.NET 1.0 and 1.1 Professional 0 August 28th, 2006 03:36 AM
Tools for WebServices JosephLouis .NET Web Services 2 June 1st, 2006 02:23 AM
webservices dkautilya ASP.NET 1.0 and 1.1 Professional 0 November 18th, 2005 08:57 AM
java webservices rsgollakota Servlets 0 January 20th, 2004 06:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.