Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException:字段值的长度超过允许的值 [英] Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException: The length of the value for the field exceeds the allowed valu

查看:54
本文介绍了Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException:字段值的长度超过允许的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


最近我们从SAP .NET Connector迁移到BizTalk Adapter Pack 3.0。我们的一个Web应用程序使用适配器。有一个BAPI发送的IDOC的一个属性的允许值超过允许值。这会导致BizTalk适配器失败。



SAP .NET Connector会截断与BizTalk Adapter Pack现在不同的值。



如果BizTalk收到超过属性所需的长度,是否可以解决BizTalk不会失败或截断的问题?



如果不是处理此错误的更好方法是什么?


< p align = left>


谢谢


Gnan

解决方案

您看到的错误消息是什么?


Recently we migrated from SAP .NET Connector to BizTalk Adapter Pack 3.0. One of our Web Application uses the adapter. There is a BAPI that sends IDOCs that have a longer than allowed value for one of its attributes. This causes the BizTalk Adapter to fail.

 

The SAP .NET Connector truncates the value which is different from what BizTalk Adapter Pack is doing now.

 

Is there a work around to say the BizTalk not to fail or truncates if it receives more than required length for an attribute?

 

If not what would be the better approach to handle this error?

 

Thanks

Gnan

解决方案

What is the error message you are seeing?


这篇关于Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException:字段值的长度超过允许的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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