title: Envelop tag missing in xml object
body: <p>I have a web application where the users can upload a specific XML file, then i need to convert the XML file to a object which is expect in a webservice.</p>
  
  <p>Code:</p>
  
  <pre><code>var document = new XmlDocument();
  document.Load(@"C:\Desktop\CteWebservice.xml");       
  
  var serializer =new XmlSerializer(typeof(OCTE));
  var octe = (OCTE)serializer.Deserialize(new StringReader(document.OuterXml));
  var serviceClient = new WSServiceClient();
  serviceClient.InsertOCTE(octe);
  </code></pre>
  
  <p>I get this error when i try to <code>deserialize</code> the xml document as a <code>OCTE</code> object:</p>
  
  <blockquote>
    <p>&lt; Envelope xmlns='<a href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/</a>'> was not expect.</p>
  </blockquote>
  
  <p>Obvious, the <code>OCTE</code> class doesn't have a Envelope property.</p>
  
  <p>My question is, i need to include this tag in the <code>OCTE</code> class or i need to do something else in the client?</p>