Need a solution on Flat files

Home Page Forums BizTalk 2004 – BizTalk 2010 Need a solution on Flat files

Viewing 2 reply threads
  • Author
    Posts
    • #24297

      I have two flat files required to be processed and produce a output file that file will be sent to a ftp site. I already solved this problem creating an executable assembly which receives two input files, parse them, process them to create a new file.

      I am very new in BizTalk. How can I fit this scenario into BizTalk Orchestration environment? Can I create any message without Schema just receive Flat file thru receive ports and process them using my created helper class (without any mapping) and produce third file without considering schema thru any shapes (e.g. expression) and send that file thur FTP adapter.

      Any help would be appreciated.

      Thanks in advance.

      Hitu

       

       

    • #24298

      Hi Hitu,

       

         In your BizTalk orchestration, just declare a message of type Xml.XmlDocument, which is the untyped message that does not relate to any schema. After you have GAC’ed your helper class, you can reference it in your orchestration by instantiating it, and passing that untyped message to a class method in an Expression shape.

         Assuming that your third file is returned by your helper class, you can declare another message of type Xml.XmlDocument to hold its contents, and send it to a port mapped to the FTP adapter in your Orchestration.

       

         Hope this helps,

       

         Daniel.

       

    • #24316

      Hi

      You can not process the Flat file if not with XML tag into the orchestartion. you have to create the schema enable to the flat file. in the pipeline stage BTS will change the flat file to xml file before save to MsgBox database…

      If the flat file is like XML file which you open in notepad and save it .txt …that type of file can process thru BTS using untype .XMLDocument file directly in the orchestration

       

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.