Home Page › Forums › BizTalk 2004 – BizTalk 2010 › BTS calling .net method
- This topic has 5 replies, 1 voice, and was last updated 9 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
October 8, 2007 at 6:05 AM #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.
-
October 8, 2007 at 7:47 AM #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.
-
October 8, 2007 at 8:33 AM #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,
-
October 8, 2007 at 9:50 AM #18166
Should be a setting on the orchestration port within the designer. Not sure if you can use it for dynamic ports, however …
-
October 8, 2007 at 10:54 AM #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.
-
October 8, 2007 at 11:25 PM #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…
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.