BizTalk Server Orchestration - Custom pipeline

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2004 > Custom pipeline





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Custom pipeline
Kenton

2004-03-23, 10:42 am

I am trying to write a custom pipeline to convert a xml document to a flat file such as HL7. Does any one know what I need to code up at a minimum to make the pipeline interface with a .net component. I assume I would pass in the document to the compone
nt, convert it to a flat file and send the flat file out of the pipeline. Is this correct? I have been struggling trying to get information on what I would need to create my custom component.
larry franks

2004-03-23, 2:43 pm

I'm assuming you are trying to create a custom pipeline component for use
with BizTalk 2004, correct? Have you looked at the
\sdk\samples\pipelines\customcomponents sample? This shows an example of
creating a pipeline with a custom pipelinecomponent.

Larry Franks

This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Thread-Topic: Custom pipeline
| thread-index: AcQQ6oCDwBvtzQJBSv6c1hgauTdvtg==
| X-Tomcat-NG: microsoft.public.biztalk.orchestration
| From: =?Utf-8?B?S2VudG9u?= <ponce.kenton@per-se.com>
| Subject: Custom pipeline
| Date: Tue, 23 Mar 2004 07:21:23 -0800
| Lines: 1
| Message-ID: <D1B394B9-C9D0-445A-BA8E-A35354FF64AE@microsoft.com>
| 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.orchestration
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.orchestration:5258
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.biztalk.orchestration
|
| I am trying to write a custom pipeline to convert a xml document to a
flat file such as HL7. Does any one know what I need to code up at a
minimum to make the pipeline interface with a .net component. I assume I
would pass in the document to the component, convert it to a flat file and
send the flat file out of the pipeline. Is this correct? I have been
struggling trying to get information on what I would need to create my
custom component.
|

Kenton

2004-03-24, 10:44 am

Hello Larry,

Yes I am trying to write a custom component pipeline. I have looked at the sdk sample, but just by looking at it, I don't understand it enough to know what is the minimum I need to write to interface my component with my Orchestration business process.
Basically I just want to be able to receive a message and convert it to a propietary flat file and send it to the trading partner. There is no place in the BT 2004 doc that states that if you want to write a custom comp. pipleline do these steps.


larry franks

2004-03-24, 5:59 pm

If all you need is to receive a message and convert it to a flat file,
there's no need for a custom component most likely.
I'm assuming you have created a schema for the inbound and outbound
documents? The BizTalk editor should be able to create a schema to
describe most flat-file formats, just add a new schema, open it, highlight
the <schema> element and in the properties window go to the Schema Editor
Extensions entry and add the flat-file extensions. With this enabled you
have a few additional properties to add delimiters and such to your schema
to describe the flat-file format you are using.
If you want to validate a native instance of your file, or generate an
instance, right click on the schema in the Solution Explorer window and
select properties. Here you can set the instance to create and to validate
along with whether the instance will be xml or native (flat-file in this
case.)

Next create a new project, call it flat-file pipeline or something like
that. Add a new item and select a send pipeline. Open up the pipeline you
added, go to the toolbox and drag the Flat-File assemblier and drop it on
the assembler stage in the pipeline. Now go right click on references and
add a reference to the dll you compiled with your schemas.
Select the flat-file assembler, should get a properties window on it. Set
the document schema to the flat-file outbound schema from your assembly.
Will be all the way at the bottom of the list most likely.
Compile this, copy the dll for this project to \microsoft biztalk server
2004\pipeline components.

Now if you create a send port you should have the option of selecting the
flat-file pipeline you just created. Let me know if you have questions on
this.


Larry Franks

This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Thread-Topic: Custom pipeline
| thread-index: AcQRsNd18OjM9vKnTdivpIrLyHI+HA==
| X-Tomcat-NG: microsoft.public.biztalk.orchestration
| From: =?Utf-8?B?S2VudG9u?= <anonymous@discussions.microsoft.com>
| References: <D1B394B9-C9D0-445A-BA8E-A35354FF64AE@microsoft.com>
<rWayTZQEEHA.2956@cpmsftngxa06.phx.gbl>
| Subject: RE: Custom pipeline
| Date: Wed, 24 Mar 2004 07:01:09 -0800
| Lines: 5
| Message-ID: <7115DA48-856A-42C6-84AC-6B47D62C6C8D@microsoft.com>
| 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.orchestration
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.orchestration:5267
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.biztalk.orchestration
|
| Hello Larry,

Yes I am trying to write a custom component pipeline. I have looked at the
sdk sample, but just by looking at it, I don't understand it enough to know
what is the minimum I need to write to interface my component with my
Orchestration business process. Basically I just want to be able to
receive a message and convert it to a propietary flat file and send it to
the trading partner. There is no place in the BT 2004 doc that states that
if you want to write a custom comp. pipleline do these steps.


|

Kenton

2004-03-24, 8:39 pm

Thanks Larry,

I think that is what I was looking for. I will give it a try.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com