title: How to pass large XML as querystring parameter to webservice?
body: <p>We have webservice in client network which accepts input XML as query string parameter and returns response as XML. The input XML is generated using the data that is fetched from database. </p>
  
  <p>I have created one Console application which generates the XML and sends the XML in URL parameter to webservice using HttpWebRequest. The problem is if the generated XML has more than ~7K characters I am getting this exception:</p>
  
  <p><strong>"The underlying connection was closed: An unexpected error occurred on a receive."</strong></p>
  
  <p>However if I use XMLHttpRequest in javascript I am not getting any error. Please let me know how to pass the large XML to webservice in console application.</p>