BizTalkException: Cannotaccessadisposedobject &&

Source: Internet
Author: User
BizTalkException: rule: ThemessagingenginewasunabletoresubmitamessageforsendportLoanBroker_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

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 . Configure "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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.