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.
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:
"The underlying connection was closed: An unexpected error occurred on a receive."
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.