I am consuming magento API in c# console application. I have added service reference in my project to access Magento API.
I am getting error with salesOrderList method.
When I fetch list of orders it gives me bellow error.
There is an error in XML document (661, 26).
and Inner Exception is
"Unexpected end of file has occurred. The following elements are not closed: subtotal_incl_tax, complexObjectArray, result, ns1:salesOrderListResponseParam, SOAP-ENV:Body, SOAP-ENV:Envelope. Line 661, position 26."
I have used other methods like getOrderInfo it is working fine.
I think this happened because I am fetching huge data from Magento.
How can I solve this problem Can anyone help me.
Thanks in advance.