title: Reading the xml file in server without saving it
body: <p>I am uploading an xml file in asp.net. what i want to do is to read the file and convert it to xmldoc and send it to one webservice without saving the xml file in the server.
  Is it possible?
  If yes can anyone help me with the code.
  The code i wrote so far is as below</p>
  
  <pre><code>HttpPostedFile myFile = filMyFile.PostedFile;
  int nFileLen = myFile.ContentLength;
  if (nFileLen &gt; 0)
  {
  byte[] myData = new byte[nFileLen];
  myFile.InputStream.Read(myData, 0, nFileLen);
  }
  </code></pre>