title: how to get data from web service using webclient method in windows phone 7 application
body: <p>I am using web client method to consume data from web service. In my textblock the data that i am getting from the web service is the source code of the link that i have given. Here i am attaching my code</p>
  
  <pre><code>public about()
      {
  
          InitializeComponent();
  
          byte[] buffer = Encoding.UTF8.GetBytes(@"&lt;?xml version=""1.0"" encoding=""utf-8""?&gt;
  
  
  
          &lt;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/""&gt;
          &lt;soap:Body&gt;
          &lt;getarvindAbout xmlns=""http://tempuri.org/"" /&gt;
          &lt;/soap:Body&gt;
          &lt;/soap:Envelope&gt;");
  
          WebClient webclient = new WebClient();
          webclient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(webclient_DownloadStringCompleted);
          webclient.DownloadStringAsync(new Uri("http://ws.clearwintech.com/arvind.asmx?op=getarvindAbout"));
  </code></pre>
  
  <p>}</p>
  
  <p>In the textblock i want the data from the getarvindAbout method. But i am just getting the source code here. Can anyone please help me to accomplish this task</p>
  
  <pre><code>    void webclient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
      {
          String str = e.Result;
  
          textBlock1.Text = str;
  
      }
  </code></pre>