Click here to Skip to main content
14,882,280 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Updated 18-Apr-14 1:49am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900