Custom pipeline
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Custom pipeline




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Custom pipeline  
Kenton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-23-04 03:42 PM

I am trying to write a custom pipeline to convert a xml document to a flat f
ile such as HL7.  Does any one know what I need to code up at a minimum to m
ake 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.  I
s this correct?  I have been struggling trying to get information on what I 
would need to create my custom component.





[ Post a follow-up to this message ]



    RE: Custom pipeline  
larry franks


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-23-04 07: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: examnotes <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.
|






[ Post a follow-up to this message ]



    RE: Custom pipeline  
Kenton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-24-04 03:44 PM

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 Orches
tration business process.
Basically I just want to be able to receive a message and convert it to a pr
opietary 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. piplel
ine do these steps.







[ Post a follow-up to this message ]



    RE: Custom pipeline  
larry franks


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-24-04 10: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: examnotes <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.


|






[ Post a follow-up to this message ]



    RE: Custom pipeline  
Kenton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-04 01:39 AM

Thanks Larry,

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register