title: Webservice call web method
body: <p>i have webservice with one method which recieves xml as string:</p>
  
  <pre><code>[WebMethod]
  public int Catch_string(string str)
  {  
  }
  </code></pre>
  
  <p>how can i send xml file to this method from win forms?</p>
  
  <p>why doesn't it work^</p>
  
  <pre><code>HttpWebRequest req = 
  (HttpWebRequest)WebRequest.Create("http://localhost/test/service.asmx");
         req.ContentType = "text/xml;charset=\"utf-8\"";
         req.Accept = "text/xml";
         req.Method = "POST";
         Stream stm = req.GetRequestStream();
         outXml.Save(stm);
         stm.Close();
  </code></pre>