error X2122:

Viewing 0 reply threads
  • Author
    Posts
    • #16502

      Hi all,

       I am getting the following error when trying to receive a message from a request-response port, send it to sql server table using a separate send port, and send the response back using the response of req-res port of orchestration.

      1. My orchestration is set to long running
      2. I receive a message from req-res port
      3. Add a scope having long running transaction L to it, inside which I add another atomic scope A(Transaction_1 as transaction identifier).
      4. scope A contains transformation of incoming message to sql insert type message, and then a send shape to insert the message to sql using a separate send port (with Delivery Notification property set to "Transmitted")
      5. outside scope A (but inside scope L) i put in decide shape to check for following condition [succeeded(Transaction_1)]. If the condition evaluates to true, I construct the response message and assign value "SUCCESS" to the distinguished field of the response message.
      6. send the response message via Response part of the req-res port earlier used to receive the message.
      7. if the condition is not satisfied, i.e., if the scope A is not completed successfully or an exception is thrown, inside the catch block of scope L, a new response message is constructed and i assign value "FAIL" to the distinguished field of the response message.
      8. send the fail response message via Response part of the req-res port earlier used to receive the message.

       Now when i build this project…I get the following error. Plz help…

      MUST RECEIVE BEFORE SENDING A MESSAGE WHOSE MESSAGETYPE CORRESPONDS TO A REQUESTRESPONSE OPERATION ON AN IMPLEMENTED PORT

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.