BizTalk Exception: Cannot access a disposed object && Failed to serialize the message part "BankQuoteRequest" into the type "BankQuoteRequest"
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_
Object name: 'CEventingReadStream'.".
Exception 2:
The adapter failed to transmit message going to send port "LoanBroker_
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.