Call Assembly in an Orchestration and use return code to delete dataset in Msgbox

Home Page Forums BizTalk 2004 – BizTalk 2010 Call Assembly in an Orchestration and use return code to delete dataset in Msgbox

Viewing 2 reply threads
  • Author
    Posts
    • #25142

      Hi there.

      I have to call an assembly right out of an orchestration. After the assemly is finished and everythings works fine, the datas (dataset) in the BTS 2009 MessageBox has to be deleted. For this I will not use a Send-Port, just a Receive-Port, because I will receive the datas for the assembly from a Flat File Adapter.

      Now, I haven’t used orchestrations that much so I have some questions.

      a) What do I have to do to call an assembly out of an orchestration?

      b) At the moment I’m not sure how I can/have to handle the return code, that the dataset can be deleted from the MessageBox. Is this possible?

      c) Anything else I have to take care of … like distinguished fields for that, means do I have to make all fields for the orchestration to distinguished fields, that the orchestration can put it thru to the assembly?

      Perhaps you can give me some advice on this or some tips. Or you know an example for this.

      Thank you very much in advance.

      Best regards

      wal

       

    • #25146

      Hi wal,

       

         Read this BizTalkGurus blog on the use (or misuse) of atomic scope in an orchestration:

      http://www.biztalkgurus.com/blogs/biztalksyn/archive/2006/01/02/Atomic-scope-abuse_2E00__2E00__2E00_.aspx

       

         It all depends on how your .NET assembly is constructed and whether or not it requires state (and therefore serialization).

       

         Daniel.

       

      • #25151

        Hi Daniel,

        thanks for the Link.

        I will check this out and see if I can handle it.

        Thanks again

        Wolfgang

    • #50159
      biztalkgurus

        In the Name of Eugenics: Genetics and the Uses of Human Heredity : Daniel J. Kevles : 9780674445574

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