Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wait for Ftp of file to complete

21 views
Skip to first unread message

DB

unread,
Dec 15, 2009, 11:18:12 AM12/15/09
to
I have an orchestration that ftp's a file to a server, then calls a
web service, sending the file name of the file ftp'd to the server.
The system that has the web service than processes the file, and sends
back a 0 or 1 for fail, success.

My problem is that the web service is called before the ftp has
completed sending the file, so the process fails because it tries to
process a file that is not complete.

How can I setup the orchestration to wait until the ftp is complete
before calling the web service?

Thanks for help.

Tomas Restrepo [MVP]

unread,
Dec 15, 2009, 7:52:23 PM12/15/09
to
You can use Delivery notifications for this. Basically, by wrapping the Send
shape in the orchestration inside an exception handling scope, you can force
biztalk to pause the orchestration until the message has been delivered
successfully or an error during the send occurred.

There's a good example of this here:
http://kentweare.blogspot.com/2007/11/biztalk-delivery-notification.html

--
Tomas Restrepo
http://winterdom.com/

"DB" <dbe...@gmail.com> wrote in message
news:f2e013e1-7f41-4c6c...@s19g2000vbm.googlegroups.com...

0 new messages