Re: BizTalk: Capturing Contents of an Assembled Flat File

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In BTS 2006, you'll have the option of executing pipelines from within
orchestrations, so you'll be able to assemble flat files without having to
jump out to the whole messaging engine.

Regards,
Doug Girard [MSFT]

Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>Thread-Topic: BizTalk: Capturing Contents of an Assembled Flat File
>thread-index: AcYktHXcqGmLhnjDSGubdxqaDIW4Kw==
>X-WBNR-Posting-Host: 213.140.6.96
>From: "=?Utf-8?B?RW5yaWNvIFplcmlsbGk=?="
<EnricoZerilli@xxxxxxxxxxxxxxxxxxxxxxxxx>
>References: <1137430587.007260.64300@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
<#YHkcqgHGHA.2012@xxxxxxxxxxxxxxxxxxxx>
>Subject: Re: BizTalk: Capturing Contents of an Assembled Flat File
>Date: Sun, 29 Jan 2006 01:14:51 -0800
>Lines: 57
>Message-ID: <E4F656E9-F1FF-41BA-8C9F-EA2E557E9FBC@xxxxxxxxxxxxx>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:34384
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Hi to all,
>an others way for to capture all FLAT FILE is to use two port inside your
>orchestration. Wich one port to manage your business logic, with the
second
>pot you manage the blob of FLAT FILE with mew schema.
>
>Bye
>--
>Enrico Zerilli
>enricozerilli@xxxxxxxxxxx
>http://blogs.dotmark.net/enf/
>
>
>"Tomas Restrepo (MVP)" wrote:
>
>> Hi AnaB,
>>
>> > I'd like to know if there's a way to capture the contents of a flat
>> > file after it's been assembled in the pipeline, but before it's sent
>> > out to the send port.
>> > I have an orchestration that uses the contents of an incoming flat file
>> >
>> > to construct a different type of flat file.
>> > What I would like to do is use the contents of this assembled outgoing
>> > flat file to construct an xml file that will include the content of the
>> >
>> > flat file in plain text, and then send out the xml file.
>> > What's the best way to go about this?
>>
>> It is certainly possible to do this with a custom pipeline component
that
>> runs after the assemble stage in a custom transmit pipeline. The sample
>> Tracer Pipeline Component I have on my website might be a start for this
>> (http://www.winterdom.com/weblog/archives/000508.html).
>>
>> However, it sounds like in your case there might be an easier way:
>> Just have your orchestration send the message to a Send Port Group, and
not
>> a single Send port. In this group, you'd have the original send port
>> configured, as well as a second one that simply looped back the message
into
>> the message box (a simple way would be to just have it drop the file
into a
>> folder that's monitored by a FILE receive location).
>>
>> Then just have either a second orchestration pick it up, or use some
sort of
>> correlation to bring it back into your original orchestration instance
and
>> then you can create your XML message to send it somewhere else.
>>
>> In this case, you will need to pick up the flat file message as is,
without
>> disassembling it into xml again, so you might need to use the trick
Scott
>> Colestock covers here to allow your orchestration to pick it directly:
>>
http://www.traceofthought.net/CommentView,guid,c5418f3d-2ea7-4530-ab9c-ae4c4
9154fcb.aspx
>>
>>
>> --
>> Tomas Restrepo
>> tomasr@xxxxxxxx
>> http://www.winterdom.com/
>>
>>
>>
>

.



Relevant Pages

  • "No Unicode byte order mark" - error while executing send pipeline in orch
    ... I'm running into a problem trying to call a send pipeline from within ... my orchestration to create a flat file. ... So I created a new schema that is ...
    (microsoft.public.biztalk.general)
  • Flat File Debatching Question
    ... I have the need to process a flat file that I am receiving via FTP. ... This flat file contains a single header row that includes the date and ... processing using the orchestration to receive the file, ... pipeline from inside the orchestration. ...
    (microsoft.public.biztalk.general)
  • Re: System.OutOfMemoryException was thrown
    ... XML message and a Flat File Assembler in a send pipeline parses the xml ... then my orchestration pick this flat file from my floder and send to MQ ... returned by Sql server, ... Exception type: PersistenceItemException ...
    (microsoft.public.biztalk.general)
  • Re: corrupt flat file terminates orchestration
    ... If you create a receive pipeline using the Flat file disassembler component ... into the Message Box where your Orchestration should pick it up. ... formatted or corrupt files? ...
    (microsoft.public.biztalk.general)
  • Re: BizTalk: Capturing Contents of an Assembled Flat File
    ... > file after it's been assembled in the pipeline, ... > to construct a different type of flat file. ... runs after the assemble stage in a custom transmit pipeline. ... Just have your orchestration send the message to a Send Port Group, ...
    (microsoft.public.biztalk.general)