Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create a copy of incoming file before processing

Status
Not open for further replies.

GISbatchu

Programmer
Aug 22, 2005
9
US
Hello All,

My current setup: I have a simple orchestration with a Receive, Transform and Send shapes. What this essentially does is that when a user uploads a .CSV file, it applies a map to it and sends the transformed data into a SQL Server database. Also, I have another send port which listens to the receive location and just copies the incoming file without processing (for archival purposes...but this is the part that does not work or I cannot figure out how to make it work).

What I want to do: I want to create a copy of the original .CSV uploaded file and save it to a directory for archival purposes before the file is processed by BizTalk.

Problem: My Receive location uses a custom flat file disassembler and my Receive Port has a 'map' mentioned in its properties. Although, I specified the 'map' in the Transform shape of the orchestration, I am forced to mention it again in the Receive Port otherwise Biztalk throws an error. But since I have the 'map' and the flat file disassembler mentioned in my Receive port, BizTalk immediately converts it to an xml file and then sends the xml file to the archive folder...which is not I want...i want the original CSV file to be copied.

Can anyone please suggest an idea how to achieve this? I want both processes (create a copy and download to SQL Server) to trigger from one receive location.

Thanks
Kiran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top