BizTalk Server General - Need some help in an Orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > March 2006 > Need some help in an Orchestration





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 Need some help in an Orchestration
Namshub

2005-07-21, 7:47 am

Hi

I'm developing an Orcestration that recieves a basic input flatfile, this is
parsed, and a few properties retrieved from it which have been premoted.
I then take one of these promoted values an call a class that returns a
large string containing all the data i need.

(the class calls our Patient Admin System, which has an interface you call
via TCPIP, so i have built this class to enapsualte all the calling logic)

The returned string is saved in a string variable within the orcestration,
the string being
0*SUCCESS*M00*JOE*BLOGGS**18031970* **M*M*431552035^0* D123456*28
DRIVE*CLIFF-ON-SEA*LONDON**NW1 1NW*Q03**30*P*M01*1*JOE*BLOGGS********M0
2*3*
D123456*0**CYES^1829088*0**A97016985*080
31970**********************M14******

Above is a sample of part of the string returned, i need to submit this
string as a new document. Now I assume i could write this out to a
file/messagequeue and then have a new Orchestraction to do the mappping etc
(as i have to built a HL7 map therefore have to build a mulitpart message
within the Orchestration). But that seems a larger overhead, can i somehow
submit this string to a transform mapping, but i obvisouly have to put it
through a flat file parser, before that stage.

I've been baiscally picking bits of examples and using them for what i need,
and thereby learning, unfortunately i'm not completed upto speed with
Orcestration and its taken me 2 weeks just to get this far.

Help, with posible links to a sample or what steps i need to achieve this
would be really helpful

Thanks

Doug Girard [MSFT]

2006-03-25, 11:38 am

Namshub,

In BizTalk Server 2006, you can execute a pipeline programmatically from
orchestration which easily enables this solution since you can use an XML
Receive pipeline with a flat file disassembler to help convert the FF
document to XML for outbound sending. There is a sample in the SDK for
this.

In BTS 2004, you'll have to find a more clever way to do this as you have
mentioned below or through the use of another custom component.

HTH,
Doug Girard [MSFT]

Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>From: "Namshub" <Richard._NoSpam_ForME_Pullen@Southend.nhs.uk>
>Subject: Need some help in an Orchestration
>Date: Thu, 21 Jul 2005 10:51:40 +0100
>Lines: 33
>MIME-Version: 1.0
>Content-Type: text/plain;
> format=flowed;
> charset="iso-8859-1";
> reply-type=original
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>Message-ID: <uy429ldjFHA.1044@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: hide-234.nhs.uk 195.10.45.234
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:15833
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Hi
>
>I'm developing an Orcestration that recieves a basic input flatfile, this

is
>parsed, and a few properties retrieved from it which have been premoted.
>I then take one of these promoted values an call a class that returns a
>large string containing all the data i need.
>
>(the class calls our Patient Admin System, which has an interface you call
>via TCPIP, so i have built this class to enapsualte all the calling logic)
>
>The returned string is saved in a string variable within the orcestration,
>the string being
>0*SUCCESS*M00*JOE*BLOGGS**18031970* **M*M*431552035^0* D123456*28
>DRIVE*CLIFF-ON-SEA*LONDON**NW1 1NW*Q03**30*P*M01*1*JOE*BLOGGS********M0
2*3*
> D123456*0**CYES^1829088*0**A97016985*080
31970**********************M14*****

*
>
>Above is a sample of part of the string returned, i need to submit this
>string as a new document. Now I assume i could write this out to a
>file/messagequeue and then have a new Orchestraction to do the mappping

etc
>(as i have to built a HL7 map therefore have to build a mulitpart message
>within the Orchestration). But that seems a larger overhead, can i

somehow
>submit this string to a transform mapping, but i obvisouly have to put it
>through a flat file parser, before that stage.
>
>I've been baiscally picking bits of examples and using them for what i

need,
>and thereby learning, unfortunately i'm not completed upto speed with
>Orcestration and its taken me 2 weeks just to get this far.
>
>Help, with posible links to a sample or what steps i need to achieve this
>would be really helpful
>
>Thanks
>
>


Greg Forsythe

2006-03-25, 11:38 am

Another option would be to take your class that accesses the Patient Admin
System and turn this into a solicit/response adapter.

The you can have a send port in the orchestration sending a request message
containing your promoted property and receiving the response.
You will then have pipelines processing both the send and response messages.
You can use a Flat file Disassembler in the receive pipeline and receive
the Xml message on the receive port of the orchestration.

This adapter could be reused for all other access to the Patient Admin
System.

Greg

"Doug Girard [MSFT]" <dogirard@online.microsoft.com> wrote in message
news:WDrorm4TGHA.1100@TK2MSFTNGXA01.phx.gbl...
> Namshub,
>
> In BizTalk Server 2006, you can execute a pipeline programmatically from
> orchestration which easily enables this solution since you can use an XML
> Receive pipeline with a flat file disassembler to help convert the FF
> document to XML for outbound sending. There is a sample in the SDK for
> this.
>
> In BTS 2004, you'll have to find a more clever way to do this as you have
> mentioned below or through the use of another custom component.
>
> HTH,
> Doug Girard [MSFT]
>
> Note: This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --------------------
> is
> *
> etc
> somehow
> need,
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com