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
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