如何使用Magento API解决错误? XML文档中存在错误(661,26)。 [英] How to Resolve Error With Magento API? There is an error in XML document (661, 26).

查看:87
本文介绍了如何使用Magento API解决错误? XML文档中存在错误(661,26)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在c#console应用程序中使用了magento API。我在项目中添加了服务引用来访问Magento API。



我的 salesOrderList 方法出错了。

当我获取订单列表时,它会给我以下错误。

XML文档中存在错误(661,26)。

和内部异常是

发生了意外的文件结束。以下元素未关闭:subtotal_incl_tax,complexObjectArray,result,ns1:salesOrderListResponseParam,SOAP-ENV:Body,SOAP-ENV:信封。第661行,第26位。



我使用过getOrderInfo之类的其他方法它工作正常。

我我想这是因为我从Magento那里获取了大量数据。



如何解决这个问题任何人都可以帮助我。



先谢谢。

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.

推荐答案

这篇关于如何使用Magento API解决错误? XML文档中存在错误(661,26)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆