BizTalk Exception: Cannot access a disposed object && Failed to serialize the message part "BankQuot...

BizTalk Exception: Cannot access a disposed object && Failed to serialize the message part "BankQuoteRequest" into the type "BankQuoteRequest"<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

Exception 1:

The messaging engine was unable to resubmit a message for send port "LoanBroker_<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />1.0.0.0_LoanBroker.LoanBrokerProcess_Port_Bank2_d4d7d47079e1d5d2" with URL "http://localhost/bankservice/bank2.asmx". Details:"Cannot access a disposed object.

Object name: 'CEventingReadStream'.".

 

Exception 2:

The adapter failed to transmit message going to send port "LoanBroker_1.0.0.0_LoanBroker.LoanBrokerProcess_Port_Bank3_d4d7d47079e1d5d2" with URL "http://localhost/bankservice/bank3.asmx". It will be retransmitted after the retry interval specified for this SendPort.Details:"Failed to serialize the message part "BankQuoteRequest" into the type "BankQuoteRequest" using namespace "http://www.microsoft.com/biztalk/bank3". Please ensure that the message part stream is created properly. ".

 

SOLUTION:

These two BizTalk exceptions may result from that the incoming XML message instance is incompatible with the target XML schema.

 

In this case, usually you need output the message sending to the port, and try to validate it against the target schema. You will get a violation error, then fix the source problems, and let validation succeeded. Finally, when calling the service again, everything works perfectly.

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值