Processing one file at a time in BTS 2002
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > Processing one file at a time in BTS 2002




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Processing one file at a time in BTS 2002  
acool


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-04 10:55 PM

I recently created a simple BTS application that takes a single XML (per
transaction - insert, update), using File System processing drop the XML
file in the folder where BTS picks it up, processes it through BizTalk 2002
and then  performs the necessary action on the other side.

This all works fine, but during real world testing if several files got put
in the pickup directory all of the files would get luped together as ONE XML
file on the other side and mess up the entire processing of the application.
I need to processes just one file at a time right nw. Is this possible and
how? Also in the future how do you handle the schema definitions on multiple
files at a time?







[ Post a follow-up to this message ]



    RE: Processing one file at a time in BTS 2002  
Allen Zhang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-09-04 08:32 PM

On file send port property page, there is a setting for when creating
output file, you want to either Append, Overwrite or CreateNew (if exists
will fail).

Since you do not want them to append, you should select a unique name by
using File name macro substitution and CreateNew option. For example, the
output file name should be  c:\temp\%MessageId%.xml.  This will generate
different file names every time. For a list of available macros, please
refer to BizTalk documentations.

- Allen Zhang (MSFT)

This posting is provided "AS IS" with no warranties, and confers no rights.

> I recently created a simple BTS application that takes a single XML (per
> transaction - insert, update), using File System processing drop the XML
> file in the folder where BTS picks it up, processes it through BizTalk
2002
> and then  performs the necessary action on the other side.
>
> This all works fine, but during real world testing if several files got
put
> in the pickup directory all of the files would get luped together as ONE
XML
> file on the other side and mess up the entire processing of the
application.
> I need to processes just one file at a time right nw. Is this possible and
> how? Also in the future how do you handle the schema definitions on
multiple
> files at a time?
>
>
>






[ Post a follow-up to this message ]



    Re: Processing one file at a time in BTS 2002  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-04 12:48 PM

Hi

Isn't the MessageId for BizTalk 2004 only? The question is about
BizTalk 2002.

Jan Eliasen

On Wed, 07 Jul 2004 22:31:51 GMT, azhang@online.microsoft.com (Allen
Zhang (MSFT)) wrote:
[vbcol=seagreen]
>On file send port property page, there is a setting for when creating
>output file, you want to either Append, Overwrite or CreateNew (if exists
>will fail).
>
>Since you do not want them to append, you should select a unique name by
>using File name macro substitution and CreateNew option. For example, the
>output file name should be  c:\temp\%MessageId%.xml.  This will generate
>different file names every time. For a list of available macros, please
>refer to BizTalk documentations.
>
>- Allen Zhang (MSFT)
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
> 
>2002 
>put 
>XML 
>application. 
>multiple 

--
Jan Eliasen, representing himself and not the company he works for.





[ Post a follow-up to this message ]



    Re: Processing one file at a time in BTS 2002  
Shaheer Abubucker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-03-04 10:51 PM

Yes.  2004 uses MessageID.  In 2002 it should be %Tracking_ID%

Thanks,
Shaheer Abubucker
Microsoft Biztalk Server Team
This posting is provided "AS IS" with no warranties,and confers no rights.

--------------------
| From: Jan Eliasen <spam@eliasen.dk>
|
| Hi
|
| Isn't the MessageId for BizTalk 2004 only? The question is about
| BizTalk 2002.
|
| Jan Eliasen






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:21 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register