>  기사  >  데이터 베이스  >  BizTalk Exception: Cannot access a disposed object &&

BizTalk Exception: Cannot access a disposed object &&

WBOY
WBOY원래의
2016-06-07 15:44:171526검색

BizTalk Exception: Cannot access a disposed object Failed to serialize the message part "BankQuoteRequest" into the type "BankQuoteRequest" Exception 1: The messaging engine was unable to resubmit a message for send port "LoanBroker_ 1.0.0

BizTalk Exception: Cannot access a disposed object && Failed to serialize the message part "BankQuoteRequest" into the type "BankQuoteRequest"

 

Exception 1:

The messaging engine was unable to resubmit a message for send port "LoanBroker_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 Send Port. 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.

 

 

 

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.