BTS calling .net method

Home Page Forums BizTalk 2004 – BizTalk 2010 BTS calling .net method

Viewing 1 reply thread
  • Author
    Posts
    • #18160

      Hi All,

       

      I have a .net method which extract the zipped files, it accept ZipFilePath with name of the file and Destination path where it will drop the extracted file  ,now my requirement is that BTS will pick the zip file and it will drop it in some Temporary folder and after that it will call the .net method and will pass the Temporary folder path with the name of the file and The Destination folder path for unzipping the files to the .net method.But i dont know why BTS is first calling the method without droping the zip files in the Temporary folder and as there is no files the method is failing to unzip any file.i have written the code to call the .net method in a expression shape which is after the send shape but then also its executing the code in the expression shape first instead of executing the sending operation. 

       

       

      Please give me some idea.

       

    • #18161

      Remember that by default, the orchestration moves on (to your expression shape) after the message reaches the MessageBox, NOT the final destination (FILE adapter).

      You could try turning delivery notification on, so that you don't move on until the adapter is successful, or, add a delay shape with 3 seconds in it.

      • #18164

        Thanks for your reply.

        I am using Dynamic Send Port. For which I am unable to find any option to turn on delivery notification.

        Can you please elaborate this approach. Delivery Notification is property of which shape?

        Thanks,

        • #18166

          Should be a setting on the orchestration port within the designer.  Not sure if you can use it for dynamic ports, however …

        • #18167

          You will see the "Delivery Notification" property on any Port ..properties window.

          Yes..the DeliveryNotification = transmitted will not work with a Dynamic port. Its meant only for a statically bound port.

          Delay would be the workable option.

          • #18168

            Thanx a lot for replying….

            I have tried using Decision Shape also so that until and unless the condition will not satisfy it will not call the method but then also as soon as i starts the application it directly calls the .net method without executing the previous step i.e without dropping the files into the folder.

            Please help me regarding…

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