Вы находитесь на странице: 1из 76

Contents

Contents.......................................................................................................................................... 1
Tutorial 1: Enterprise Application Integration................................................................................... 5
In This Section............................................................................................................................. 6
Lesson 1: Create the EAI Solution.................................................................................................. 6
In This Section............................................................................................................................. 7
Step 1: Open a Blank Solution in isual Stu!io "##5......................................................................7
$rere%uisites................................................................................................................................ &
$roce!ures.................................................................................................................................. &
'hat !i! I (ust !o)..................................................................................................................... 1#
*e+t Steps................................................................................................................................. 1#
See Also..................................................................................................................................... 11
Step ": A!! a *e, $ro(ect to the Solution..................................................................................... 11
$rere%uisites.............................................................................................................................. 11
$roce!ures................................................................................................................................ 11
'hat !i! I (ust !o)..................................................................................................................... 1-
*e+t Steps................................................................................................................................. 1-
See Also.................................................................................................................................... 1-
Step -: Create the In.entor/ 0e%uest Sche1a.............................................................................12
$rere%uisites.............................................................................................................................. 12
$roce!ures................................................................................................................................ 12
'hat !i! I (ust !o)..................................................................................................................... 1&
*e+t Steps................................................................................................................................. 1&
See Also.................................................................................................................................... 1&
Step 2: 3o!i4/ the 0e%uest Sche1a $roperties...........................................................................1&
$rere%uisites.............................................................................................................................. 15
$roce!ures................................................................................................................................ 15
'hat !i! I (ust !o)..................................................................................................................... "#
*e+t Steps................................................................................................................................. "#
See Also.................................................................................................................................... "#
Step 5: Create the 0e%uest 6enie! Sche1a................................................................................"1
$rere%uisites.............................................................................................................................. "1
$roce!ures................................................................................................................................ "1
'hat !i! I (ust !o)..................................................................................................................... "-
*e+t Steps................................................................................................................................. "-
See Also.................................................................................................................................... "-
Step 6: Create the 6istinguishe! 7iel!s........................................................................................ "-
$rere%uisites.............................................................................................................................. "-
$roce!ures................................................................................................................................ "2
'hat !i! I (ust !o)..................................................................................................................... "5
*e+t Steps................................................................................................................................. "5
See Also.................................................................................................................................... "5
Step 7: Create a Custo1 Sen! $ipeline........................................................................................ "5
$rere%uisites.............................................................................................................................. "5
$roce!ures................................................................................................................................ "6
'hat !i! I (ust !o)..................................................................................................................... "&
*e+t Steps................................................................................................................................. "&
See Also.................................................................................................................................... "&
Step &: Create the 3ap................................................................................................................. "&
$rere%uisites.............................................................................................................................. "&
$roce!ures................................................................................................................................ "&
'hat !i! I (ust !o)..................................................................................................................... -#
*e+t Steps................................................................................................................................. -#
See Also.................................................................................................................................... -#
Step 5: Buil! the EAISche1as $ro(ect.......................................................................................... -1
$rere%uisites.............................................................................................................................. -1
$roce!ures................................................................................................................................ -1
'hat !i! I (ust !o)..................................................................................................................... --
*e+t Steps................................................................................................................................. --
See Also.................................................................................................................................... --
Lesson ": 6e4ine the Business $rocess........................................................................................ --
In This Section........................................................................................................................... --
Step 1: A!! a Secon! $ro(ect to 8our Solution............................................................................. -2
$rere%uisites.............................................................................................................................. -2
$roce!ures................................................................................................................................ -2
'hat !i! I (ust !o)..................................................................................................................... -6
*e+t Steps................................................................................................................................. -6
See Also.................................................................................................................................... -6
Step ": Create the EAI Business $rocess..................................................................................... -6
$rere%uisites.............................................................................................................................. -7
$roce!ures................................................................................................................................ -7
'hat !i! I (ust !o)..................................................................................................................... 2-
*e+t Steps................................................................................................................................. 2-
See Also.................................................................................................................................... 22
Step -: A!! a 0e4erence to the EAISche1as $ro(ect...................................................................22
$rere%uisites.............................................................................................................................. 22
$roce!ures................................................................................................................................ 22
'hat !i! I (ust !o)..................................................................................................................... 26
*e+t Steps................................................................................................................................. 26
See Also.................................................................................................................................... 26
Step 2: Create 3essage Instance aria9les.................................................................................26
$rere%uisites.............................................................................................................................. 26
$roce!ures................................................................................................................................ 27
'hat !i! I (ust !o)..................................................................................................................... 25
*e+t Steps................................................................................................................................. 25
See Also.................................................................................................................................... 25
Step 5: A!! $orts to the Orchestration.......................................................................................... 25
$rere%uisites.............................................................................................................................. 5#
$roce!ures................................................................................................................................ 5#
'hat !i! I (ust !o)..................................................................................................................... 52
*e+t Steps................................................................................................................................. 52
See Also.................................................................................................................................... 52
Step 6: Speci4/ Action Shape 3essages an! Connect the $orts..................................................52
$rere%uisites.............................................................................................................................. 52
$roce!ures................................................................................................................................ 55
'hat !i! I (ust !o)..................................................................................................................... 57
*e+t Steps................................................................................................................................. 57
See Also.................................................................................................................................... 57
Step 7: Con4igure the Trans4or1 Shape to :se the 3ap...............................................................57
$rere%uisites.............................................................................................................................. 57
$roce!ures................................................................................................................................ 5&
'hat !i! I (ust !o)..................................................................................................................... 6#
*e+t Steps................................................................................................................................. 6#
See Also.................................................................................................................................... 6#
Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision...............................................................61
$rere%uisites.............................................................................................................................. 61
$roce!ures................................................................................................................................ 61
'hat !i! I (ust !o)..................................................................................................................... 6"
*e+t Steps................................................................................................................................. 6"
See Also.................................................................................................................................... 6"
Step 5: Buil! the EAIOrchestrations $ro(ect..................................................................................6-
$rere%uisites.............................................................................................................................. 6-
$roce!ures................................................................................................................................ 6-
'hat !i! I (ust !o)..................................................................................................................... 65
*e+t steps.................................................................................................................................. 65
See Also.................................................................................................................................... 65
Lesson -: 6eplo/ the Solution...................................................................................................... 66
In This Section........................................................................................................................... 66
Step 1: 6eplo/ the $ro(ects........................................................................................................... 66
$rere%uisites.............................................................................................................................. 67
$roce!ures................................................................................................................................ 67
'hat !i! I (ust !o)..................................................................................................................... 6&
*e+t Steps................................................................................................................................. 6&
See Also.................................................................................................................................... 6&
Step ": Con4igure an! Start the EAI Application............................................................................ 6&
$rere%uisites.............................................................................................................................. 6&
$roce!ures................................................................................................................................ 65
'hat !i! I (ust !o)..................................................................................................................... 72
*e+t Steps................................................................................................................................. 72
See Also.................................................................................................................................... 72
Step -: Test the EAI Solution........................................................................................................ 72
$rere%uisites.............................................................................................................................. 72
$roce!ures................................................................................................................................ 72
'hat !i! I (ust !o)..................................................................................................................... 75
*e+t Steps................................................................................................................................. 75
See Also.................................................................................................................................... 75
Cop/right....................................................................................................................................... 75
Tutorial 1: Enterprise Application Integration
3icroso4t> Bi?Talk> Ser.er "##6 pro.i!es a !e.elop1ent an! run@ti1e en.iron1ent 4or 9usiness
process 1anage1ent AB$3B an! auto1ation. This tutorial presents an en!@to@en! e+ercise in
setting up an! !eplo/ing enterprise application integration AEAIB using Bi?Talk Ser.er "##6.
In this solutionC /ou are auto1ating a ,arehouse or!er process 4or an enterprise. 'hen in.entor/
in the ,arehouse reaches an unaccepta9l/ lo, le.elC the ,arehouse sen!s a 1essage to a
Bi?Talk orchestration re%uesting in.entor/ replace1ent. The enterprise uses !i44erent co1puter
s/ste1s 4or the ,arehouse an! the orchestration. These s/ste1s 1ust e+change !ata to process
the in.entor/ replace1ent re%uests. 8ou use Bi?Talk Ser.er "##6 to auto1ate the 9usiness
process that 9egins ,hen the in.entor/ is !eplete! an! en!s ,hen the in.entor/ is replace!.
'ithin the in.entor/ replace1ent processC se.eral things happen:
The orchestration e.aluates ,hether a re%uest is appro.e!C using the co1pan/Ds
9usiness policies 4or appro.al criteria.
'hen the orchestration appro.es a re%uestC the orchestration su91its the re%uest to an
Enterprise 0esource $lanning AE0$B s/ste1 that generates the purchase or!er.
'hen the orchestration !oes not appro.e a re%uestC the orchestration returns the re%uest
to the ,arehouse in.entor/ s/ste1.
'hen the E0$ s/ste1 recei.es the appro.e! in.entor/ replace1ent re%uestC the E0$
s/ste1 generates a purchase or!er A$OB.
The ,arehouse in.entor/ s/ste1 is a stan!@alone s/ste1 that operates separatel/ 4ro1 the E0$
s/ste1. Bi?Talk Ser.er "##6 ensures that the in.entor/ s/ste1 an! the E0$ s/ste1 interact
s1oothl/ an! e44icientl/. This inclu!es appl/ing 9usiness rules to the appro.al process an!
routing the replenish1ent re%uest appropriatel/.
The 1essage 4lo, 4or this EAI scenario looks si1ilar to the 4ollo,ing illustration.
5
In this tutorialC /ou use Bi?Talk Ser.er !e.eloper tools to !esign an! !eplo/ the 9usiness process.
This tutorial pro.i!es !etaile! instructions so that /ou can co1plete the lessons e.en i4 /ou ha.e
no progra11ing skills.
There are three lessons in this tutorial. Instructions 4or sa.ing /our ,ork a4ter each step ena9le
/ou to stop 9et,een lessons. Be4ore /ou 9egin this tutorialC /ou 1ust co1plete the steps in
Be4ore 8ou Begin the Tutorials. 7or in4or1ation a9out !o,nloa!ing a 3icroso4t O44ice 'or! "##-
.ersion o4 the Bi?Talk Ser.er "##6 TutorialsC see EStep 6: $rint the TutorialsF in EBe4ore 8ou Begin
the Tutorials.F
In This Section
Lesson 1: Create the EAI Solution
Lesson ": 6e4ine the Business $rocess
Lesson -: 6eplo/ the Solution
Lesson 1: Create the EAI Solution
In this lessonC /ou create an! 9uil! the 4irst pro(ect in the enterprise application integration AEAIB
solution. The pro(ect contains t,o 1essage sche1asC a pipelineC an! a 1ap.
In the EAI solutionC a ,arehouse s/ste1 sen!s a re%uest 4or in.entor/ replace1ent 1essage to
Bi?Talk Ser.er 4or processing. In this lessonC /ou create the 4ollo,ing ite1s:
The EAI solutionC to hol! the pro(ect.
The pro(ectC to hol! the sche1asC pipelineC an! 1ap.
The sche1a 4or the 1essage the ,arehouse sen!s to Bi?Talk Ser.er to re%uest in.entor/
replace1ent.
The sche1a 4or the 1essage Bi?Talk Ser.er sen!s to the ,arehouse i4 the re%uest 4or
in.entor/ replace1ent is !enie!.
A pipelineC ,hich trans4or1s 9oth 1essages so Bi?Talk Ser.er can use the 7ILE a!apter
to sen! an! recei.e the 1essages.
A 1apC ,hich connects the sche1as o4 the t,o 1essages. B/ 1apping the sche1asC
!ata 4ro1 the in.entor/ replace1ent re%uest 1essage can 9e inclu!e! in the re%uest !enie!
1essage.
7inall/ /ou 9uil! the pro(ect 9e4ore starting Lesson ": 6e4ine the Business $rocess. In Lesson "C
/ou create the 9usiness process that routes the 1essages an! e.aluates the contents o4 the
in.entor/ replace1ent re%uest 1essage against appro.al criteria.
The 4ollo,ing illustration sho,s the 4lo, o4 !ata through Bi?Talk Ser.er in the Tutorial 1 scenario.
6
Be4ore /ou 9egin this lessonC /ou 1ust co1plete the steps in Be4ore 8ou Begin the Tutorials. 7or
in4or1ation a9out !o,nloa!ing a 3icroso4t O44ice 'or! "##- .ersion o4 the Bi?Talk Ser.er "##6
TutorialsC see EStep 6: $rint the TutorialsF in EBe4ore 8ou Begin the Tutorials.F
Note
To learn 1ore a9out the Bi?Talk Ser.er tools use! in this lessonC see EStep 5: Learn
A9out the Bi?Talk Ser.er ToolsF in EBe4ore 8ou Begin the Tutorials.F
In This Section
Step 1: Open a Blank Solution in isual Stu!io "##5
Step ": A!! a *e, $ro(ect to the Solution
Step -: Create the In.entor/ 0e%uest Sche1a
Step 2: 3o!i4/ the 0e%uest Sche1a $roperties
Step 5: Create the 0e%uest 6enie! Sche1a
Step 6: Create the 6istinguishe! 7iel!s
Step 7: Create a Custo1 Sen! $ipeline
Step &: Create the 3ap
Step 5: Buil! the EAISche1as $ro(ect
Step 1: Open a Blank Solution in Visual
Studio 2!
Ti"e to co"plete: 5 1inutes
7
O#$ecti%e: In this stepC /ou open a ne, e1pt/ Bi?Talk Ser.er "##6 solution in 3icroso4t isual
Stu!io> "##5. 8ou !elete the pro(ect that isual Stu!io auto1aticall/ a!!s to a ne, solution.
&urpose: Opening a ne, Bi?Talk solution is the 4irst step in 9uil!ing the enterprise application
integration AEAIB solution. The Bi?Talk solution /ou open is a 4ra1e,ork to hol! Bi?Talk arti4acts.
In su9se%uent stepsC /ou ,ill a!! Bi?Talk arti4acts that per4or1 the tasks that auto1ate the EAI
process. 8ou !elete the pro(ect 9ecause rena1ing it causes co1pilation errors 9ecause the
na1espace in each ite1 !oes not 1atch the na1e o4 the pro(ect.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete the steps in EBe4ore 8ou Begin the
Tutorials.F
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To open a #lank solution in Visual Studio 2!
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to Ne+C an! then click &ro$ect.
-. In the Ne+ &ro$ect !ialog 9o+C !o the 4ollo,ing:
,se this To do this
&ro$ect t-pes Click Bi.Talk &ro$ects.
Te"plates Click E"pt- Bi.Talk Ser%er &ro$ect.
Na"e T/pe EAISolution.
Location T/pe C:/Tutorial/Lessons.
Solution Na"e isual Stu!io uses the na1e /ou t/pe! as
the solution na1e.
Create director- )or solution Select this check 9o+ to create a !irector/
4or the solution 4iles.
The 4ollo,ing 4igure sho,s the Ne+ &ro$ect !ialog 9o+.
&
2. Click O0.
Note
Both the Solution 1EAISolution1 solution an! an EAISolution pro(ect appear in
Solution E+plorer. In the ne+t stepC /ou ,ill re1o.e the EAISolution pro(ect. I4
/ou !o not see Solution 1EAISolution1C on the Tools 1enuC click Options. In the
Options !ialog 9o+C in the treeC click &ro$ects and Solutions. On the right si!eC
select the Al+a-s sho+ solution check 9o+C an! then click O0.
The 4ollo,ing 4igure sho,s Solution E+plorer ,ith the EAISolution solution an! the
EAISolution pro(ect.
5
5. In Solution E+plorerC right@click the EAISolution pro(ectC an! then click 2e"o%e.
6. In the 1EAISolution1 +ill #e re"o%ed 1essage 9o+C click O0.
Note
In this scenarioC /ou use t,o pro(ects: EAISche1as an! EAIOrchestrations.
'hen /ou create a pro(ectC isual Stu!io creates the na1espace 4or the pro(ect.
I4 /ou rena1e a pro(ectC isual Stu!io !oes not change the na1espace. In this
stepC /ou !elete the !e4ault pro(ect that isual Stu!io a!!s to the solutionC so that
the na1espaces 4or /our pro(ects 1atch the pro(ect na1es. The Solution
1EAISolution1 solution is still in Solution E+plorer.
7. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step ": A!! a *e, $ro(ect to the Solution.
3hat did I $ust do4
In this stepC /ou opene! a ne, e1pt/ Bi?Talk Ser.er "##6 solution in isual Stu!io "##5. 8ou
!elete! the pro(ect that isual Stu!io auto1aticall/ a!!s to a ne, solution.
Ne5t Steps
8ou a!! a Bi?Talk pro(ect to this solution in Step ": A!! a *e, $ro(ect to the Solution.
1#
See Also
Be4ore 8ou Begin the Tutorials
Lesson 1: Create the EAI Solution
Step ": A!! a *e, $ro(ect to the Solution
Step -: Create the In.entor/ 0e%uest Sche1a
Step 2: 3o!i4/ the 0e%uest Sche1a $roperties
:sing the Bi?Talk $ro(ect S/ste1 6esign En.iron1ent Ain Bi?Talk Ser.er "##6 GelpB
Step 2: Add a Ne+ &ro$ect to the Solution
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou a!! an e1pt/ Bi?Talk pro(ect to the Bi?Talk solution /ou create! in
the pre.ious step.
&urpose: 8ou a!! Bi?Talk pro(ects to Bi?Talk solutions to organi?e co1plicate! solutions 1ore
e44icientl/. The ne, pro(ect hol!s the Bi?Talk arti4actsHinclu!ing sche1asC a pipelineC an! a 1ap
Hthat /ou a!! to the solution in Lesson 1. 7or e+a1pleC i4 /ou ,ere integrating 1an/ !i.erse
processesC /ou ,oul! create a pro(ect or set o4 pro(ects 4or each process.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 1: Open a Blank Solution in isual
Stu!io "##5.
I"portant
I4 /ou co1plete! Step 1 ,ithout co1pleting the steps in EBe4ore 8ou Begin the
TutorialsCF stop no+ an! co1plete EBe4ore 8ou Begin the Tutorials.F
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To add a ne+ pro$ect to -our solution
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
11
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click Solution 1EAISolution1C point to AddC an! then click
Ne+ &ro$ect.
5. In the Add Ne+ &ro$ect !ialog 9o+C !o the 4ollo,ing:
,se this To do this
&ro$ect t-pes Click Bi.Talk &ro$ects.
Te"plates Click E"pt- Bi.Talk Ser%er &ro$ect.
Na"e T/pe EAISche"as.
Location eri4/ that the location is
C:/Tutorial/Lessons/EAISolution.
The 4ollo,ing 4igure sho,s the Add Ne+ &ro$ect !ialog 9o+.
6. Click O0.
3arning
6o not change the na1e o4 /our pro(ect a4ter it is create!. This na1e is
1"
auto1aticall/ inclu!e! in the na1espaces 4or all ite1s ,ithin this pro(ect.
Changing the na1e o4 the pro(ect a4ter it is create! pro!uces co1pilation errors i4
the na1espace in each ite1 !oes not 1atch the na1e o4 the pro(ect.
The 4ollo,ing 4igure sho,s Solution E+plorer ,ith the ne, pro(ect.
7. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t step Step -: Create the In.entor/ 0e%uest Sche1a.
3hat did I $ust do4
In this stepC /ou a!!e! an e1pt/ Bi?Talk pro(ect to the Bi?Talk solution /ou create! in the
pre.ious step.
Ne5t Steps
8ou create the sche1a that !e4ines the 4or1at o4 the 1essage that re%uests in.entor/ 4or the
,arehouse in Step -: Create the In.entor/ 0e%uest Sche1a.
See Also
Lesson 1: Create the EAI Solution
Step 1: Open a Blank Solution in isual Stu!io "##5
Step -: Create the In.entor/ 0e%uest Sche1a
1-
Step 7: Create the In%entor- 2e'uest
Sche"a
Ti"e to co"plete: 7 1inutes
O#$ecti%e: In this stepC /ou !e4ine the sche1a o4 the 1essage that the ,arehouse s/ste1 sen!s
to Bi?Talk Ser.er to re%uest in.entor/ replace1ent.
&urpose: The sche1a !e4ines the !ata an! the structure o4 the in.entor/ replace1ent re%uest
1essage. Bi?Talk Ser.er uses the sche1a to i!enti4/ an! interact ,ith the !ata in the 1essage.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step ": A!! a *e, $ro(ect to the Solution.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To add a ne+ sche"a to the pro$ect
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click the EAISche"as pro(ectC point to AddC an! then click
Ne+ Ite".
5. In the Add Ne+ Ite" 8 EAISche"as !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Categories Select Sche"a *iles.
Te"plates Select Sche"a.
Na"e T/pe 2e'uest95sd.
The 4ollo,ing 4igure sho,s the Add Ne+ Ite" !ialog 9o+.
12
6. Click Add.
Note
The sche1a tree an! ;S6 pane appear. This area o4 isual Stu!io "##5 is
re4erre! to as Bi?Talk E!itor. In a!!itionC /our ne, sche1a appears in Solution
E+plorer 9elo, the EAISche1as pro(ect.
The 4ollo,ing 4igure sho,s the !i44erent parts o4 Bi?Talk E+plorerC Solution E+plorerC an!
the $roperties pane.
15
7. On the *ile 1enuC click Sa%e All.
To add ite"s to the in%entor- replace"ent sche"a
1. In the Bi?Talk E!itor sche1a treeC right@click the 2oot no!eC an! then click
&roperties.
Note
The $roperties pane is a gri! control. 8ou 1ust click in the propert/ ro, to
change the propert/ .alue or e+pose the propert/ control. A control is a !e.ice
/ou use to select optionsC such as a !rop@!o,n list.
". In the $roperties paneC change the .alue o4 the Node Na"e propert/ to 2e'uestC
an! then press E*TE0.
The 4ollo,ing 4igure sho,s the properties 4or the 0oot no!e.
16
Note
The root no!e contains all the ele1ents o4 the ;3L !ocu1ent. E.er/ ;3L
!ocu1ent 1ust ha.e a single root ele1ent to 9e ,ell 4or1e!.
-. In the Bi?Talk E!itor sche1a treeC right@click the 2e'uest no!eC point to Insert
Sche"a NodeC an! then click Child 2ecord.
2. T/pe :eader as the ne, na1e 4or the chil! recor!C an! then press E*TE0.
5. Create a secon! chil! recor! 4or the 0e%uest no!eC an! na1e it Ite".
6. In the Bi?Talk E!itor sche1a treeC right@click the :eader no!eC point to Insert
Sche"a NodeC an! then click Child *ield Ele"ent.
7. T/pe 2e'I; as the ne, na1e 4or the ele1entC an! then press E*TE0.
&. Create a secon! chil! 4iel! ele1ent 4or the :eader no!eC an! na1e it ;ate.
5. In the Bi?Talk E!itor sche1a treeC right@click the Ite" no!eC an! a!! the 4ollo,ing
chil! 4iel! ele1ents:
;escription
<uantit-
,nit&rice
Total&rice
The co1plete! 0e%uest.+s! shoul! look si1ilar to the 4ollo,ing 4igure.
17
1#. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 2: 3o!i4/ the 0e%uest Sche1a $roperties.
3hat did I $ust do4
In this stepC /ou !e4ine! the sche1a o4 the 1essage that the ,arehouse s/ste1 sen!s to Bi?Talk
Ser.er to re%uest in.entor/ replace1ent.
Ne5t Steps
8ou 1o!i4/ properties o4 the ite1s in the in.entor/ replace1ent re%uest sche1a in Step 2: 3o!i4/
the 0e%uest Sche1a $roperties.
See Also
Step ": A!! a *e, $ro(ect to the Solution
Step 2: 3o!i4/ the 0e%uest Sche1a $roperties
Step =: (odi)- the 2e'uest Sche"a
&roperties
Ti"e to co"plete: 7 1inutes
O#$ecti%e: In this stepC /ou change the !ata t/pe o4 the <uantit- 4iel! ele1ent to an integer.
1&
&urpose: 8ou change the <uantit- 4iel! ele1ent to an integer so /ou can create an e+pression
that e.aluates ,hether the .alue is greater than or less than 5##. 8ou ,ill create the e+pression
in Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step -: Create the In.entor/ 0e%uest
Sche1a.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To "odi)- the 2e'uest sche"a properties
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click 2e'uest95sd.
5. In Bi?Talk E!itorC right@click <uantit-C an! then click &roperties.
Note
The $roperties pane is a gri! control. 8ou 1ust click in the propert/ ro, to
e+pose the propert/ control. A control is a !e.ice /ou use to select optionsC such
as a !rop@!o,n list.
6. In the $roperties paneC 4ro1 the ;ata T-pe !rop@!o,n listC select 5s:unsignedInt.
The 4ollo,ing 4igure sho,s the ;ata T-pe propert/.
15
7. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 5: Create the 0e%uest 6enie! Sche1a.
3hat did I $ust do4
In this stepC /ou change! the !ata t/pe o4 the <uantit- 4iel! ele1ent to an integer.
Ne5t Steps
8ou create the sche1a 4or the 1essage Bi?Talk Ser.er sen!s 9ack to the ,arehouse i4 the
9usiness process re(ects the in.entor/ re%uest 1essage in Step 5: Create the 0e%uest 6enie!
Sche1a.
See Also
Lesson 1: Create the EAI Solution
Step -: Create the In.entor/ 0e%uest Sche1a
Step 5: Create the 0e%uest 6enie! Sche1a
"#
Step !: Create the 2e'uest ;enied Sche"a
Ti"e to co"plete: 7 1inutes
O#$ecti%e: In this stepC /ou create the sche1a 4or the 1essage Bi?Talk Ser.er sen!s 9ack to the
,arehouse i4 the 9usiness process re(ects the in.entor/ re%uest 1essage.
&urpose: The sche1a !e4ines the !ata an! the structure o4 the re%uest !enie! 1essage. Bi?Talk
Ser.er uses the sche1a to i!enti4/ an! interact ,ith the !ata in the 1essage.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 2: 3o!i4/ the 0e%uest Sche1a
$roperties.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To create the 2e'uest ;enied sche"a
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click the EAISche"as pro(ectC point to AddC an! then click
Ne+ Ite".
5. In the Add Ne+ Ite" 8 EAISche"as !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Categories Select Sche"a *iles.
Te"plates Select Sche"a.
Na"e T/pe 2e'uest;enied95sd.
6. Click Add.
Note
The sche1a tree an! ;S6 pane appear. In a!!itionC the 0e%uest6enie! sche1a
"1
appears in Solution E+plorer in the EAISche1as pro(ect.
7. In Bi?Talk E!itorC right@click the 2oot no!eC an! then click &roperties.
Note
The $roperties pane is a gri! control. 8ou 1ust click in the propert/ ro, to
change the propert/ .alue or e+pose the propert/ control. A control is a !e.ice
/ou use to select optionsC such as a !rop@!o,n list.
&. In the $roperties paneC change the .alue o4 the Node Na"e propert/ to ;ecline2e'C
an! then press E*TE0.
Note
The root no!e contains all the ele1ents o4 the ;3L !ocu1ent. A ,ell@4or1e!
;3L !ocu1ent has a single root ele1ent.
5. In Bi?Talk E!itorC right@click the ;ecline2e' no!eC point to Insert Sche"a NodeC an!
then click Child *ield Ele"ent.
Note
In this taskC /ou are a!!ing chil! 4iel! ele1ents !irectl/ to the root no!eC rather
than a!!ing a chil! recor! 4irstC an! then a!!ing chil! 4iel! ele1ents to the chil!
recor!. 8ou 1ust a!! the 2e'I; an! <t- 4iel!s as chil! 4iel! ele1ents to pro1ote
the1 in Step 6: Create the 6istinguishe! 7iel!s.
1#. T/pe 2e'I; as the ne, na1e 4or the ele1entC an! then press E*TE0.
11. A!! a secon! chil! 4iel! ele1ent na1e! <t-.
The 4ollo,ing 4igure sho,s the 0e%uest6enie! sche1a.
1". In Bi?Talk E!itorC right@click <t-C an! then click &roperties.
1-. In the $roperties paneC 4ro1 the ;ata T-pe !rop@!o,n listC select 5s:unsignedInt.
12. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 6: Create the 6istinguishe! 7iel!s.
""
3hat did I $ust do4
In this stepC /ou create! the sche1a 4or the 1essage Bi?Talk Ser.er sen!s 9ack to the
,arehouse i4 the 9usiness process re(ects the in.entor/ re%uest 1essage.
Ne5t Steps
8ou pro1ote the <uantit- 4iel! in the 0e%uest.+s! sche1a an! the <t- 4iel! in the
0e%uest6enie!.+s! sche1a 9/ 1aking the1 !istinguishe! 4iel!s in Step 6: Create the
6istinguishe! 7iel!s.
See Also
Step 2: 3o!i4/ the 0e%uest Sche1a $roperties
Step 6: Create the 6istinguishe! 7iel!s
Step >: Create the ;istinguished *ields
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou pro1ote the <uantit- 4iel! in the 0e%uest.+s! sche1a an! the <t-
4iel! in the 0e%uest6enie!.+s! sche1a 9/ 1aking the1 !istinguishe! 4iel!s.
&urpose: 6istinguishe! 4iel!s are 1essage !ata o4 special interest that /ou use pri1aril/ to 1ake
!ecisions or to 1anipulate !ata in /our orchestration. As a !istinguishe! 4iel!C the <uantit- 4iel!
is accessi9le 4or each instance o4 a re%uest. The process can e.aluate the .alue o4 the <uantit-
4iel! in each re%uest instance 9ecause the 4iel! is accessi9le. 8ou pro1ote the <t- 4iel! o4 the
re%uest !enie! instance sche1aC so that the %uantit/ o4 the ite1s re%ueste!C in a!!ition to the
re%uest I6 nu19erC are inclu!e! in the re%uest !enie! 1essage returne! to the ,arehouse
in.entor/ s/ste1.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 5: Create the 0e%uest 6enie!
Sche1a.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
"-
&rocedures
To create a distinguished )ield
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click the 2e'uest95sd sche1a to open it.
5. In Bi?Talk E!itorC right@click ?Sche"a@C an! then click &roperties.
6. In the $roperties paneC click the &ro"ote &roperties ellipsis IAJ.
7. In the &ro"ote &roperties !ialog 9o+C on the ;istinguished *ields ta9C on the le4t
si!eC e+pan! 2e'uestC e+pan! Ite"C select <uantit-C click AddC an! then click O0.
The 4ollo,ing 4igure sho,s the &ro"ote &roperties !ialog 9o+ 4or the 0e%uest sche1a.
&. Open the 2e'uest;enied95sd sche1aC an! a!! the <t- 4iel! as a !istinguishe!
4iel!.
Note
In the &ro"ote &roperties !ialog 9o+C i4 /ou cannot a!! the <t- 4iel!C check
that /ou create! it as a chil! 4iel! ele1entC rather than as a chil! recor!. 8ou
cannot pro1ote chil! recor!s. I4 the <t- 4iel! is a chil! recor!C !elete it an! then
a!! it to the sche1a as a chil! 4iel! ele1ent.
5. On the *ile 1enuC click Sa%e All to sa.e /our ,ork.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
"2
can go to the ne+t stepC Step 7: Create a Custo1 Sen! $ipeline.
3hat did I $ust do4
In this stepC /ou pro1ote! the <uantit- 4iel! in the 0e%uest.+s! sche1a an! the <t- 4iel! in the
0e%uest6enie!.+s! sche1a 9/ 1aking the1 !istinguishe! 4iel!s.
Ne5t Steps
8ou create a custo1 sen! pipeline that uses the 4lat 4ile asse19ler co1ponent to seriali?e the
recei.e 1essage A;3L !ocu1entB into a 4lat 4ile 4or1at in Step 7: Create a Custo1 Sen!
$ipeline.
See Also
Step 5: Create the 0e%uest 6enie! Sche1a
Step 7: Create a Custo1 Sen! $ipeline
Step B: Create a Custo" Send &ipeline
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou use $ipeline 6esigner to create a custo1 sen! pipeline that uses the
4lat 4ile asse19ler co1ponent to seriali?e ;3L !ocu1ents into a 4lat 4ile 4or1at.
&urpose: 8ou create a custo1 sen! pipeline to ena9le the 4lat 4ile asse19ler co1ponent to
engage in the processing o4 1essages. The 7ILE a!apter trans4ers 4iles into an! out o4 Bi?Talk
Ser.er.
Note
I4 /ou plan to create se.eral pipelines 4or a solutionC /ou 1ight ,ant to create a separate
pro(ect 4or pipelines. This step is pro.i!e! so that /ou ha.e an e+perience creating a ne,
custo1 pipeline ,hich ,e ,ill call the E0$$ipeline. The E0$$ipeline is not actuall/ use!
in this EAI solution. Go,e.erC /ou ,ill a!! the pipeline to the sche1as pro(ect.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 6: Create the 6istinguishe! 7iel!s.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
"5
&rocedures
To add a pipeline to -our pro$ect
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click EAISche"asC click AddC an! then click Ne+ Ite".
5. In the Add Ne+ Ite" 8 EAISche"as !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Categories Select &ipeline *iles.
Te"plates Select Send &ipeline.
Na"e T/pe E2&&ipeline9#tp.
The 4ollo,ing 4igure sho,s the Add Ne+ Ite" !ialog 9o+.
6. Click Add.
$ipeline 6esigner opens an! the Bi?Talk $ipeline Co1ponents appear in the Tool9o+.
Note
I4 the Tool9o+ is not openC in the Vie+ 1enuC click Tool#o5. To anchor it on the
screenC click the thu19tack icon.
7. 7ro1 the Bi.Talk &ipeline Co"ponents Tool9o+C !rag the *lat )ile asse"#ler 4ro1
the tool9ar to the Asse"#le;rop :ereC target.
"6
The 4ollo,ing 4igure sho,s the E0$$ipeline.
&. In the &roperties pane 4or the 4lat 4ile asse19ler pipeline co1ponentC 4ro1 the
;ocu"ent Sche"a !rop@!o,n listC select EAISche"as92e'uest.
Note
The $roperties pane is a gri! control. 8ou 1ust click in the propert/ ro, to
e+pose the propert/ control. A control is a !e.ice /ou use to select optionsC such
as a !rop@!o,n list.
5. On the *ile 1enuC click Sa%e All to sa.e /our ,ork.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step &: Create the 3ap.
"7
3hat did I $ust do4
In this stepC /ou use! $ipeline 6esigner to create a custo1 sen! pipeline that uses the 4lat 4ile
asse19ler co1ponent to seriali?e /our ;3L !ocu1ent into a 4lat 4ile 4or1at.
Ne5t Steps
8ou create a 1ap that connects 4iel!s in the 0e%uest sche1a to 4iel!s in the 0e%uest6enie!
sche1a in Step &: Create the 3ap.
See Also
Step 6: Create the 6istinguishe! 7iel!s
Step &: Create the 3ap
Step D: Create the (ap
Ti"e to co"plete: 6 1inutes
O#$ecti%e: In this stepC /ou create a 1ap that connects 4iel!s in the 0e%uest sche1a to 4iel!s in
the 0e%uest6enie! sche1a.
&urpose: The 1ap ensures that the re%uest I6 nu19er an! the %uantit/ o4 the ite1s re%ueste!
are inclu!e! in the re%uest !enie! 1essage returne! to the ,arehouse in.entor/ s/ste1. 8ou
use Bi?Talk 3apper to link 4iel!s in an inco1ing 1essage to 4iel!s !e4ine! 4or the outgoing
1essage. This is necessar/ 9ecause these t,o 1essages !o not ha.e the sa1e sche1a
structure.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 7: Create a Custo1 Sen! $ipeline.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To create the "ap
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
"&
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click the EAISche"as pro(ectC point to AddC an! then click
Ne+ Ite".
5. In the Add Ne+ Ite" !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Categories Click (ap *iles.
Te"plates Click (ap.
Na"e T/pe (apTo2e';enied9#t".
6. Click Add.
The 4ollo,ing 4igure sho,s the Source Sche1aC 6estination Sche1aC an! 3apper <ri!.
7. In the Source Sche"a paneC click Open Source Sche"a.
&. In the Bi.Talk T-pe &icker !ialog 9o+C e+pan! EAISche"asC e+pan! Sche"asC
click EAISche"as92e'uestC an! then click O0.
5. In the Source Sche"a paneC right@click ?Sche"a@C an! then click E5pand Tree
Node.
1#. In the ;estination Sche"a paneC click Open ;estination Sche"a.
11. In the Bi.Talk T-pe &icker !ialog 9o+C e+pan! EAISche"asC e+pan! Sche"asC
"5
click EAISche"as92e'uest;eniedC an! then click O0.
1". In the ;estination Sche"a paneC right@click ?Sche"a@C an! then click E5pand Tree
Node.
1-. In the Source Sche"a paneC !rag the <uantit- 4iel! to the <t- 4iel! in the
;estination Sche"a pane to 1ap the !ata 4ro1 one sche1a to the other.
12. In the Source Sche"a paneC !rag the 2e'I; 4iel! to the 2e'I; in the ;estination
Sche"a pane.
A line appears connecting the t,o ele1ents.
The 4ollo,ing 4igure sho,s the 1appe! 4iel!s.
15. On the *ile 1enuC click Sa%e All to sa.e /our ,ork.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 5: Buil! the EAISche1as $ro(ect.
3hat did I $ust do4
In this stepC /ou create! a 1ap that connects 4iel!s in the 0e%uest sche1a to 4iel!s in the
0e%uest6enie! sche1a.
Ne5t Steps
8ou 9uil! the EAI Sche1a pro(ect in Step 5: Buil! the EAISche1as $ro(ect.
See Also
Step 7: Create a Custo1 Sen! $ipeline
Step 5: Buil! the EAISche1as $ro(ect
-#
Step E: Build the EAISche"as &ro$ect
Ti"e to co"plete: 6 1inutes
O#$ecti%e: In this stepC /ou 9uil! the EAISche1as pro(ect to generate an asse19l/ 4ile A6LLB.
&urpose: A4ter /ou create the EAISche1as pro(ect an! a!! the necessar/ ite1s to itC /ou 1ust
9uil! the pro(ect to generate an asse19l/. An asse19l/ is a collection o4 resources in the pro(ectC
such as sche1as an! 1apsC ,hich are store! in a 6LL 4ile.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step &: Create the 3ap.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To #uild the EAISche"as pro$ect
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click the EAISche"as pro(ectC an! then click &roperties.
5. In the EAISche"as &ropert- &ages !ialog 9o+C in the tree controlC e+pan!
Co""on &ropertiesC click Asse"#l-C an! then in the properties listC click the
Asse"#l- 0e- *ile ellipsis IAJ.
6. In the Asse"#l- 0e- *ile !ialog 9o+C !o the 4ollo,ing:
-1
,se this To do this
Look in *a.igate to C:/Tutorial.
*ile na"e T/pe Tutorial9snk.
Note
8ou create! the Tutorial.snk
strong na1e ke/ 4ile in EStep 2:
Create a Strong *a1e Ke/ 7ileF
in EBe4ore 8ou Begin the
Tutorials.F
7. Click Open.
&. In the EAISche"as &ropert- &ages !ialog 9o+C in the tree controlC e+pan!
Con)iguration &ropertiesC click ;eplo-"entC an! then in the properties listC !o the
4ollo,ing:
,se this To do this
Application Na"e T/pe EAIApplication.
Note
Buil!ing the EAISche1as
pro(ect creates the
EAIApplication applicationC
,hich appears in the Bi?Talk
Ser.er A!1inistration console
an! contains the EAISche1as
asse19l/.
2edeplo- 7ro1 the !rop@!o,n listC select True.
5. Click O0.
1#. On the *ile 1enuC click Sa%e All to sa.e /our ,ork.
11. In Solution E+plorerC right@click EAISche"asC an! then click Build.
Note
The Output ta9C locate! at the 9otto1C !ispla/s the results o4 9uil!ing the pro(ect.
To !ispla/ the Output paneC on the Vie+ 1enuC click Output.
The Output pane at the 9otto1 o4 the screen shoul! !ispla/: Build: 1 succeededF
)ailedF skipped9
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to Lesson ": 6e4ine the Business $rocess.
-"
3hat did I $ust do4
In this stepC /ou 9uilt the EAISche1as pro(ect to generate an asse19l/ 4ile A6LLB.
Ne5t Steps
8ou create the 9usiness process that routes the in.entor/ replace1ent re%uest an! re%uest
!enie! 1essages an! e.aluates the contents o4 the in.entor/ replace1ent re%uest 1essage
against appro.al criteria in Lesson ": 6e4ine the Business $rocess.
See Also
Step &: Create the 3ap
Lesson ": 6e4ine the Business $rocess
Lesson 2: ;e)ine the Business &rocess
In this lessonC /ou create the secon! pro(ect in the Enterprise Application Integration AEAIB
solution. The pro(ect contains an orchestration.
In the EAI solutionC a ,arehouse s/ste1 sen!s a re%uest 4or in.entor/ replace1ent 1essage to
Bi?Talk Ser.er 4or processing. Bi?Talk Ser.er uses the orchestration /ou create to auto1ate the
9usiness process. The orchestration pro.i!es the ,ork4lo,C actionsC an! e+pressions to 1o.e
1essages through the s/ste1 an! process their contents.
7inall/ /ou 9uil! the pro(ect 9e4ore starting Lesson -: 6eplo/ the Solution. In Lesson -C /ou
!eplo/ the solution.
Be4ore /ou 9egin this lessonC /ou 1ust co1plete the steps in Lesson 1: Create the EAI Solution.
7or in4or1ation a9out !o,nloa!ing a 3icroso4t O44ice 'or! "##- .ersion o4 the Bi?Talk
Ser.er "##6 TutorialsC see EStep 6: $rint the TutorialsF in EBe4ore 8ou Begin the Tutorials.F
Note
To learn 1ore a9out the Bi?Talk Ser.er tools use! in this lessonC see EStep 5: Learn
A9out the Bi?Talk Ser.er ToolsF in EBe4ore 8ou Begin the Tutorials.F
In This Section
Step 1: A!! a Secon! $ro(ect to 8our Solution
Step ": Create the EAI Business $rocess
Step -: A!! a 0e4erence to the EAISche1as $ro(ect
Step 2: Create 3essage Instance aria9les
Step 5: A!! $orts to the Orchestration
Step 6: Speci4/ Action Shape 3essages an! Connect the $orts
--
Step 7: Con4igure the Trans4or1 Shape to :se the 3ap
Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision
Step 5: Buil! the EAIOrchestrations $ro(ect
Step 1: Add a Second &ro$ect to Gour
Solution
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou a!! a secon! pro(ect to the EAI solution. Then /ou a!! an
orchestration to the ne, pro(ect.
&urpose: 8ou create a separate pro(ect 4or the orchestration. This is help4ul ,hen /ou ha.e
se.eral !i44erent people ,orking on one solution. 8ou use the ne, orchestration to auto1ate the
9usiness process in this lesson.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Lesson 1: Create the EAI Solution.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To add another pro$ect to -our solution
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click Solution 1EAISolution1C point to AddC an! then click
Ne+ &ro$ect.
Note
I4 Solution E+plorer is not .isi9le in isual Stu!ioC on the Vie+ 1enuC click
Solution E5plorer.
5. In the Add Ne+ &ro$ect !ialog 9o+C !o the 4ollo,ing:
-2
,se this To do this
&ro$ect t-pes Click Bi.Talk &ro$ects.
Te"plates Click E"pt- Bi.Talk Ser%er &ro$ect.
Na"e T/pe EAIOrchestrations.
6. The 4ollo,ing 4igure sho,s the Add Ne+ &ro$ect !ialog 9o+.
7. Click O0.
&. In Solution E+plorerC right@click EAIOrchestrationsC point to AddC an! then click Ne+
Ite".
5. In the Add Ne+ Ite" !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Categories Click Orchestration *iles.
Te"plates Click Bi.Talk Orchestration.
Na"e T/pe EAI&rocess9od5.
1#. Click Add.
Orchestration 6esigner opens. The 4ollo,ing 4igure sho,s Orchestration 6esigner ,ith
the EAI$rocess orchestration.
-5
11. On the *ile 1enuC click Sa%e All to sa.e /our ,ork.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step ": Create the EAI Business $rocess.
3hat did I $ust do4
In this stepC /ou a!!e! a secon! pro(ect to the EAI solution. Then /ou a!!e! an orchestration to
the ne, pro(ect.
Ne5t Steps
8ou a!! action shapes to the EAI$rocess orchestration in Step ": Create the EAI Business
$rocess.
See Also
Lesson 1: Create the EAI Solution
Step ": Create the EAI Business $rocess
Step 2: Create the EAI Business &rocess
Ti"e to co"plete: & 1inutes
O#$ecti%e: In this stepC /ou use Orchestration 6esigner to !e4ine /our 9usiness process 9/
!ragging action shapes 4ro1 the Tool9o+ to the orchestration !esign sur4ace.
&urpose: The ,ork4lo, o4 the EAI$rocess orchestration represents an! auto1ates /our
co1pan/Ds 9usiness process 4or appro.ing in.entor/ replace1ent re%uests.
In Orchestration 6esignerC /ou !e4ine /our 9usiness process 9/ a!!ing action shapes to the
,ork4lo,. So1e shapes re%uire input. 7or e+a1pleC in this lessonC so1e o4 the shapes re%uire an
-6
e+pression. 'hen /ou a!! a shape that re%uires input to /our orchestrationC the shape appears
1arke! ,ith a S1art Tag. 8ou ,ill a!! the 1issing e+pressions in later steps in this lesson.
The 4ollo,ing 4igure sho,s the S1art Tag.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 1: A!! a Secon! $ro(ect to 8our
Solution.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To create the EAI #usiness process +ork)lo+
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click EAI&rocess9od5.
The 4ollo,ing 4igure sho,s the Begin Agreen circleB an! End Are! octagonB shapes.
5. In Orchestration 6esignerC 4ro1 the orchestration Tool9o+C !rag the 2ecei%e shape to
the orchestration !esign sur4aceC an! !rop it into the space in!icate! 9et,een the Begin
Agreen circleB an! End Are! octagonB shapes.
The 4ollo,ing 4igure sho,s the ne, 2ecei%e shape.
-7
Note
I4 the Tool9o+ is not openC in the Vie+ 1enuC click Tool#o5. To anchor it on the
screenC click the thu19tack icon.
6. On the !esign sur4aceC right@click the 2ecei%e shapeC an! then click &roperties
3indo+.
7. In the $roperties pane 4or the 2ecei%e shapeC !o the 4ollo,ing:
,se this To do this
Na"e T/pe 2ecei%eH2e'uest.
Acti%ate 7ro1 the !rop@!o,n listC select True.
&. 7ro1 the Tool9o+C !rag the ;ecide shape onto the connecting line !irectl/ 9elo, the
2ecei%eH2e'uest shape.
Note
8ou can alpha9eti?e the tools in the Tool9o+ 9/ right@clicking the Bi.Talk
Orchestrations ta9 an! clicking Sort Ite"s Alpha#eticall-. This 1akes each
shape easier to 4in!.
The ;ecide shape e+pan!s to sho, a 9ranch 4or the I) state1ent A2uleH1B an! a 9ranch
4or the Else state1ent. The 4ollo,ing 4igure sho,s the ;ecide shape.
-&
5. On the !esign sur4aceC right@click the ;ecide shapeC an! then click &roperties
3indo+.
1#. In the $roperties pane 4or the ;ecide shapeC in the Na"e propert/C t/pe
Check<uantit-.
11. On the !esign sur4aceC right@click the 2uleH1 shape Ainsi!e o4 the ;ecide shapeBC
an! then click &roperties 3indo+.
1". In the $roperties pane 4or 2uleH1C in the Na"e propert/C t/pe ;ecline.
1-. 7ro1 the Tool9o+C !rag the Trans)or" shape to the space in!icate!C !irectl/ 9elo,
the ;ecline shape.
The 4ollo,ing 4igure sho,s the Trans)or" shape.
-5
Note
'hen /ou !rop the Trans)or" shape onto the !esign sur4aceC Orchestration
6esigner creates the enclosing Construct (essage shape 4or /ou.
12. On the !esign sur4aceC right@click the Construct(essageH1 shapeC an! then click
&roperties 3indo+.
15. In the $roperties pane 4or the Construct(essageH1 shapeC in the Na"e propert/C
t/pe ConstructH2e'uest;enied.
Note
3ake sure that /ou select the Construct shape. I4 there is no Na"e propert/ in
the $roperties paneC /ou ha.e not selecte! the Construct shape.
16. 7ro1 the Tool9o+C !rag the Send shape to the connecting line !irectl/ 9elo, the
ConstructH2e'uest;enied shapeC insi!e o4 the Check<uantit- shape.
The 4ollo,ing 4igure sho,s the Send shape.
2#
17. On the !esign sur4aceC right@click the Send shapeC an! then click &roperties
3indo+.
1&. In the $roperties pane 4or the Send shapeC in the Na"e propert/C t/pe
SendH2e';enied.
15. 7ro1 the Tool9o+C !rag a secon! Send shape to the space in!icate!C !irectl/ 9elo,
the Else shapeC insi!e o4 the Check<uantit- shape.
The 4ollo,ing 4igure sho,s the secon! Send shape.
21
"#. On the !esign sur4aceC right@click the secon! Send shapeC an! then click &roperties
3indo+.
"1. In the $roperties pane 4or the secon! Send shapeC in the Na"e propert/C t/pe
SendH2e'ToE2&.
"". On the *ile 1enuC click Sa%e All.
The 4ollo,ing 4igure sho,s the co1plete! EAI$rocess orchestration.
Note
There ,ill 9e se.eral Lno e+pressionL S1art Tags ,ithin /our orchestration. 8ou
,ill resol.e these in later steps.
2"
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step -: A!! a 0e4erence to the EAISche1as $ro(ect.
3hat did I $ust do4
In this stepC /ou use! Orchestration 6esigner to !e4ine /our 9usiness process.
Ne5t Steps
8ou a!! a re4erence 4ro1 the EAIOrchestrations pro(ect to the EAISche1as pro(ect in Step -: A!!
a 0e4erence to the EAISche1as $ro(ect.
2-
See Also
Step 1: A!! a Secon! $ro(ect to 8our Solution
Step -: A!! a 0e4erence to the EAISche1as $ro(ect
Step 7: Add a 2e)erence to the EAISche"as
&ro$ect
Ti"e to co"plete: - 1inutes
O#$ecti%e: In this stepC /ou a!! a re4erence 4ro1 the EAIOrchestrations pro(ect to the
EAISche1as pro(ect.
&urpose: In Orchestration 6esignerC /ou !e4ine the 1essages that are 9eing sent an! recei.e!.
The 1essages use the sche1as that /ou create! earlier in the EAISche1as pro(ect an! 1ust 9e
a.aila9le to /our orchestration. To 1ake the sche1as a.aila9le to the orchestrationC /ou nee! to
a!! a re4erence to the EAISche1as asse19l/.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step ": Create the EAI Business $rocess.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To add a re)erence to the EAISche"as pro$ect
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC e+pan! the EAIOrchestrations pro(ectC right@click the
2e)erences no!eC an! then click Add 2e)erence.
5. In the Add 2e)erence !ialog 9o+C on the &ro$ects ta9C !ou9le@click the EAISche"as
pro(ect to a!! it as a selecte! co1ponent.
The EAISche"as pro(ect appears in the Selected pro$ects and co"ponents pane.
22
6. Click O0.
7. In Solution E+plorerC select the EAISche"as re4erenceC an! then in the $roperties
paneC 4ro1 the Cop- Local !rop@!o,n listC select *alse.
&. In Solution E+plorerC select the EAISche"as re4erenceC an! then in the $roperties
paneC 4ro1 the Cop- Local !rop@!o,n listC select True.
Note
Changing the Cop- Local propert/ re4reshes the re4erence. Theoreticall/C /ou
shoul! 9e a9le to set the Cop- Local propert/ to *alseC as that is the setting that
ensures that the contents o4 the EAISche1as pro(ect are a.aila9le to the
EAIOrchestrations pro(ect. There is an issue ,ith isual Stu!io "##5C ho,e.erC
that 1akes this ina!.isa9le. 7or 1ore in4or1ationC see the Kno,le!ge Base
article -1-51"C LB:<: LCoul! not cop/ te1porar/ 4iles to the output !irector/L
error 1essage ,hen /ou 9uil! a solution that contains 1ultiple pro(ectsL a.aila9le
at http:==go.1icroso4t.co1=4,link=)LinkI!M6""#&.
25
5. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 2: Create 3essage Instance aria9les.
3hat did I $ust do4
In this stepC /ou a!!e! a re4erence 4ro1 the EAIOrchestrations pro(ect to the EAISche1as
pro(ect.
Ne5t Steps
8ou create 1essage .aria9les 4or each 1essage instance in the EAI$rocess orchestrationC an!
associate each .aria9le ,ith a sche1a in Step 2: Create 3essage Instance aria9les.
See Also
Step ": Create the EAI Business $rocess
Step 2: Create 3essage Instance aria9les
Step =: Create (essage Instance Varia#les
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou create 1essage instance .aria9les an! associate the1 ,ith the
sche1as /ou create! in the pre.ious lesson.
&urpose: Orchestration 6esigner uses 1essage instances to 1anage !ata. 8ou use a 1essage
instance .aria9le to in!icate the sche1a 4or the 1essage instance. Sche1as represent the
structure o4 instance 1essages. In Orchestration 6esignerC a 1essage .aria9le i!enti4ies an
instance o4 a 1essage that uses a speci4ic sche1a structure. In the 4ollo,ing proce!ure /ou ,ill
create 1essage .aria9les 4or each 1essage instanceC an! associate each .aria9le ,ith a
sche1a.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step -: A!! a 0e4erence to the
EAISche1as $ro(ect.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
26
&rocedures
To create "essage instance %aria#les
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click EAI&rocess9od5.
5. In the Orchestration ie, ,in!o,C right@click (essagesC an! then click Ne+
(essage.
The 4ollo,ing 4igure sho,s the Orchestration ie, ,in!o, ,ith the ne, 1essage.
6. In the $roperties pane 4or (essageH1C !o the 4ollo,ing:
27
,se this To do this
Identi)ier T/pe 2e'uestInstanceC an! then press
E*TE0.
(essage T-pe 7ro1 the !rop@!o,n listC e+pan! Sche"asC
an! then select Select )ro" re)erenced
asse"#l-.
7. In the Select Arti)act T-pe !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Current &ro$ect E+pan! 2e)erencesC an! then select
EAISche"as.
T-pe Na"e Select 2e'uest.
The 4ollo,ing 4igure sho,s the Select Arti)act T-pe !ialog 9o+.
2&
&. Click O0.
5. A!! a secon! 1essage na1e! 2e'uest;eniedInstance ,ith a re4erence to the
2e'uest;enied ite1 in EAISche"as.
1#. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 5: A!! $orts to the Orchestration.
3hat did I $ust do4
In this stepC /ou create! 1essage instance .aria9les an! associate! the1 ,ith the sche1as /ou
create! in the pre.ious lesson.
Ne5t Steps
8ou create an! con4igure the ports the EAI$rocess orchestration uses to sen! an! recei.e the
in.entor/ replace1ent re%uest an! re%uest !enie! 1essages in Step 5: A!! $orts to the
Orchestration.
See Also
Step -: A!! a 0e4erence to the EAISche1as $ro(ect
Step 5: A!! $orts to the Orchestration
Step !: Add &orts to the Orchestration
Ti"e to co"plete: 1# 1inutes
O#$ecti%e: In this stepC /ou a!! three ports to the EAI$rocess orchestration an! con4igure the1.
&urpose: The three ports /ou create an! con4igure in this step 4ul4ill the 4ollo,ing roles:
The 4irst portC 2ecei%e2e'&ortC recei.es in.entor/ replace1ent re%uest 1essages 4ro1
the ,arehouse.
The secon! portCSendToE2&C sen!s re%uest accepte! 1essages to a purchase or!er
process.
The thir! portC Send;ecline&ortC sen!s re%uest !enie! 1essages 9ack to the
,arehouse.
In this proce!ureC 4or each portC /ou use the $ort Con4iguration 'i?ar! to:
25
1. Create an! con4igure the port t/pe. A port t/pe is a propert/ that !e4ines the
co11unication pattern Aone@,a/ or re%uest@responseB an! the access restrictions Apri.ateC
internalC or pu9licB 4or the port.
". Esta9lish the !irection o4 co11unication 4or the port Asen!ing or recei.ingB.
Note
6etaile! instructions are pro.i!e! 4or creating the 4irst port. :se the sa1e in4or1ation to
create the secon! an! thir! ports.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 2: Create 3essage Instance
aria9les.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To create and con)igure the ports
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click EAI&rocess9od5.
5. In Orchestration 6esignerC 4ro1 the orchestration Tool9o+C !rag the &ort shape to the
le4t@si!e &ort Sur)aceC parallel to the 2ecei%eH2e'uest shape.
Note
I4 the Tool9o+ o.erlaps the port sur4aceC ena9le the autohi!e option. To ena9le
the Tool9o+ autohi!e optionC click the thu19tack icon. The autohi!e option 1o.es
the Tool9o+ out o4 the ,a/ ,hen /ou !rag a shape to the !esign sur4ace.
Note
'hen /ou release the port onto the port sur4aceC the $ort Con4iguration 'i?ar!
starts auto1aticall/.
6. On the 3elco"e to the &ort Con)iguration 3i.ard pageC click Ne5t.
7. On the &ort &roperties pageC in the Na"e 9o+C t/pe 2ecei%e2e'&ortC an! then
click Ne5t.
&. On the Select a &ort T-pe pageC !o the 4ollo,ing:
5#
,se this To do this
Select the port t-pe to #e used )or this
port
Select the Create a ne+ &ort T-pe option.
&ort T-pe Na"e: T/pe 2ecei%e2e'T-pe.
Co""unication &attern Select the One83a- option.
Access 2estrictions Select the Internal 8 li"ited to this
pro$ect option.
5. Click Ne5t.
1#. On the &ort Binding pageC !o the 4ollo,ing:
,se this To do this
&ort direction o) co""unication 7ro1 the !rop@!o,n listC select I1ll al+a-s
#e recei%ing "essages on this port.
&ort #inding 7ro1 the !rop@!o,n listC select Speci)-
later.
11. Click Ne5t.
The 4ollo,ing ta9le sho,s the su11ar/ in4or1ation 4or 2ecei%e2e'&ort !ispla/e! on
the Co"pleting the &ort 3i.ard page:
&ropert- Value
&ort Na"e 0ecei.e0e%$ort
Co""unication This port ,ill 9e use! to recei.e 1essages
onl/. The 9in!ing 4or this port ,ill 9e
speci4ie! through Bi?Talk E+plorer or 9/
script.
Note
In this tutorialC /ou ,ill use the Bi?Talk Ser.er A!1inistration console to speci4/
the 9in!ing 4or this port.
1". On the Co"pleting the &ort 3i.ard pageC click *inish.
1-. 7ro1 the orchestration Tool9o+C !rag the &ort shape to the right@si!e &ort Sur)aceF
parallel to the SendH2e'ToE2& shape.
Note
'hen /ou release the port onto the port sur4aceC the $ort Con4iguration 'i?ar!
starts auto1aticall/.
51
12. :se the in4or1ation in the 4ollo,ing ta9le to co1plete the $ort Con4iguration 'i?ar!
4or the SendToE2& sen! port.
Note
8ou speci4/ the port 9in!ing 4or the SendToE2& port in Lesson -: 6eplo/ the
Solution. 'hen /ou set the port 9in!ing to Speci)- laterC /ou ,ill co1plete the
9in!ing later in the Bi?Talk Ser.er A!1inistration consoleC rather than at !esign
ti1e in Orchestration 6esigner or Bi?Talk E+plorer. In this lessonC /ou speci4/ the
location o4 the E0$ s/ste1 in the Bi?Talk Ser.er A!1inistration console a4ter /ou
!eplo/ the application.
&ropert- Value
Na"e T/pe SendToE2&.
Select the port t-pe to #e used )or this
port
Select the Create a ne+ &ort T-pe option.
&ort T-pe Na"e T/pe SendToE2&T-pe.
Co""unication &attern Select the One83a- option.
Access 2estrictions Select the Internal 8 li"ited to this
pro$ect option.
&ort direction o) co""unication 7ro1 the !rop@!o,n listC select I1ll al+a-s
#e sending "essages on this port.
&ort #inding 7ro1 the !rop@!o,n listC select Speci)-
later.
15. 7ro1 the orchestration Tool9o+C !rag the &ort shape to the right@si!e &ort Sur)aceF
parallel to the SendH2e';enied shape.
16. :se the in4or1ation in the 4ollo,ing ta9le to create the Send;ecline&ort sen! port.
5"
&ropert- Value
Na"e T/pe Send;ecline&ort.
Select the port t-pe to #e used )or this
port
Select the Create a ne+ &ort T-pe option.
&ort T-pe Na"e T/pe Send;eclineT-pe.
Co""unication &attern Select the One 3a- option.
Access 2estrictions Select the Internal 8 li"ited to this
pro$ect option.
&ort direction o) co""unication 7ro1 the !rop@!o,n listC select I1ll al+a-s
#e sending "essages on this port.
&ort #indings 7ro1 the !rop@!o,n listC select Speci)-
later.
The 4ollo,ing 4igure sho,s the EAI$rocess orchestration ,ith the ports.
17. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 6: Speci4/ Action Shape 3essages an! Connect
5-
the $orts.
3hat did I $ust do4
In this stepC /ou a!!e! three ports to the EAI$rocess orchestration an! con4igure! the1.
Ne5t Steps
8ou speci4/ a 1essage 4or each Send an! 2ecei%e action shape an! connect the action shapes
to the ports /ou create! in this step in Step 6: Speci4/ Action Shape 3essages an! Connect the
$orts.
See Also
Step 2: Create 3essage Instance aria9les
Step 6: Speci4/ Action Shape 3essages an! Connect the $orts
Step >: Speci)- Action Shape (essages and
Connect the &orts
Ti"e to co"plete: 7 1inutes
O#$ecti%e: In this stepC /ou speci4/ a 1essage 4or each Send an! 2ecei%e action shape in the
EAI$rocess orchestration an! then /ou connect the action shapes to the ports /ou create! in
Step 5: A!! $orts to the Orchestration.
&urpose: Sen! actions sen! 1essages. 0ecei.e actions recei.e 1essages. B/ speci4/ing the
1essages that sen! actions sen!C an! recei.e actions recei.eC an! then connecting the sen! an!
recei.e actions to the appropriate portsC /ou con4igure the processing o4 the 1essages into an!
out o4 Bi?Talk Ser.er.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 5: A!! $orts to the Orchestration.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
52
&rocedures
To speci)- the "essage sent or recei%ed #- the action shapes
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click EAI&rocess9od5.
5. In Orchestration 6esignerC on the !esign sur4aceC right@click the 2ecei%eH2e'uest
action shapeC an! then click &roperties 3indo+.
6. In the $roperties paneC 4ro1 the (essage !rop@!o,n listC select 2e'uestInstance.
7. :se the in4or1ation in the 4ollo,ing ta9le to speci4/ the 1essage 4or the
SendH2e';enied shape an! the SendH2e'ToE2& shape.
Shape (essage
SendH2e';enied 2e'uest;eniedInstance
SendH2e'ToE2& 2e'uestInstance
&. On the *ile 1enuC click Sa%e All.
To connect the ports to the action shapes
1. In Orchestration 6esignerC on the !esign sur4aceC !rag the green arro,@shape!
han!le 4or each port to the correspon!ing green han!le o4 the action shape.
Note
In this stepC /ou use the !rag@an!@!rop 1etho! to connect ports to action
shapes. 8ou coul! instea! use the operation propert/ o4 an action shape to
connect the action shape to a port.
:se the in4or1ation in the 4ollo,ing ta9le to connect ports to the appropriate action
shapes.
Note
The han!le o4 the action shape ,ill s,itch to the si!e closest to the port /ou
connect it to.
55
Connect this port To this action shape
2ecei%e2e'&ort 2ecei%eH2e'uest
Send;ecline&ort SendH2e';enied
SendToE2& SendH2e'ToE2&
Note
The no e+pression S1art Tags go a,a/ 4or the 2ecei%eH2e'uestC
SendH2e';eniedC an! SendH2e'ToE2& shapes ,hen /ou speci4/ the
1essage 4or the shape an! connect the shape to a port. The re1aining no
e+pression S1art Tags in the EAI$rocess orchestration ,ill 9e resol.e! in a later
step.
The 4ollo,ing 4igure sho,s the EAI$rocess orchestration ,ith all o4 the ports connecte!.
". On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 7: Con4igure the Trans4or1 Shape to :se the 3ap.
56
3hat did I $ust do4
In this stepC /ou speci4ie! a 1essage 4or each Send an! 2ecei%e action shape in the EAI$rocess
orchestration an! then /ou connecte! the action shapes to the ports /ou create! in Step 5: A!!
$orts to the Orchestration.
Ne5t Steps
8ou connect the 1ap /ou create! in Lesson " to the trans4or1 shape in the EAI$rocess
orchestration in Step 7: Con4igure the Trans4or1 Shape to :se the 3ap.
See Also
Step 5: A!! $orts to the Orchestration
Step 7: Con4igure the Trans4or1 Shape to :se the 3ap
Step B: Con)igure the Trans)or" Shape to
,se the (ap
Ti"e to co"plete: 7 1inutes
O#$ecti%e: In this stepC /ou connect the 1ap /ou create! in Lesson 1: Create the EAI Solution to
the trans4or1 shape in the EAI$rocess orchestration.
&urpose: 8ou !e4ine! the sche1a o4 the in.entor/ replace1ent re%uest 1essage that the
,arehouse sen!s to Bi?Talk Ser.er in Lesson 1: Create the EAI Solution. 8ou !e4ine! the
sche1a o4 the re%uest !enie! 1essage that Bi?Talk Ser.er sen!s to the ,arehouse. 8ou !e4ine!
a 1ap that connects parts o4 the t,o sche1as so that !ata 4ro1 the re%uest 1essage can 9e
inclu!e! in the re%uest !enie! 1essage. 'hen /ou connect the 1ap to the trans4or1 actionC the
trans4or1 action uses the 1ap to construct the re%uest !enie! 1essage ,ith !ata 4ro1 the
re%uest 1essage.
In this stepC /ou use the Trans)or" Con)iguration !ialog 9o+ to speci4/ a 1apC an! the input
an! output 1essages.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 6: Speci4/ Action Shape 3essages
an! Connect the $orts.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
57
&rocedures
To con)igure the Trans)or" action to use the "ap
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click EAI&rocess9od5.
5. In Orchestration 6esignerC on the !esign sur4aceC right@click the
ConstructH2e'uest;enied shapeC an! then click &roperties 3indo+.
6. In the $roperties paneC 4ro1 the (essages Constructed !rop@!o,n listC select the
2e'uest;eniedInstance check 9o+.
7. On the orchestration !esign sur4aceC !ou9le@click the Trans)or"H1 shape.
&. In the Trans)or" Con)iguration !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Enter the con)iguration in)or"ation Select the E5isting (ap option.
*ull- <uali)ied (ap Na"e 7ro1 the !rop@!o,n listC select Select )ro"
2e)erenced Asse"#l-.
Note
Selecting Select )ro"
2e)erenced Asse"#l- opens
the Select Arti)act T-pe !ialog
9o+
5. In the Select Arti)act T-pe !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Current &ro$ect In the tree controlC e+pan! 2e)erencesC
an! then click EAISche"as.
T-pe Na"e Click (apTo2e';enied.
The 4ollo,ing 4igure sho,s the Select Arti)act T-pe !ialog 9o+.
5&
1#. Click O0.
11. In the Trans)or" Con)iguration !ialog 9o+C click SourceC an! then 4ro1 the
Varia#le Na"e !rop@!o,n listC select 2e'uestInstance.
Note
The Source Trans)or" section o4 the Trans)or" Con)iguration !ialog 9o+ is a
gri! control. 8ou 1ust click in the cell un!er Varia#le Na"e to e+pose the
control. A control is a !e.ice /ou use to select optionsC such as a !rop@!o,n list.
1". In the Trans)or" Con)iguration !ialog 9o+C click ;estinationC an! then 4ro1 the
Varia#le Na"e !rop@!o,n listC select 2e'uest;eniedInstance.
Note
'hen /ou select the Source Trans)or" an! ;estinationTrans)or" .aria9lesC
Source an! ;estination shoul! sho, the re! ; change to a green check. To
re4resh Source an! ;estinationC click ;estination an! Source.
The 4ollo,ing 4igure sho,s the Trans)or" Con)iguration !ialog 9o+.
55
1-. Click O0.
12. On the *ile 1enuC click Sa%e All.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision.
3hat did I $ust do4
In this stepC /ou connecte! the trans4or1 shape in the EAI$rocess orchestration to the 1ap /ou
create! in Lesson 1: Create the EAI Solution.
Ne5t Steps
8ou ,rite the e+pression that !eter1ines ,hether an in.entor/ replace1ent re%uest 1essage is
appro.e! or !enie! in Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision.
See Also
Step 6: Speci4/ Action Shape 3essages an! Connect the $orts
Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision
6#
Step D: 3rite the ILANJ6s E5pression )or the
;ecision
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou ,rite an e+pression 4or the !ecision shape.
&urpose: The e+pression /ou ,rite in this step e.aluates the .alue o4 the %uantit/ 4iel! in the
in.entor/ replace1ent re%uest 1essage. I4 the %uantit/ in a re%uest instance e+cee!s 5##C the
orchestration !eclines the re%uest. In Lesson 1C /ou !e4ine! the %uantit/ 4iel! ,hen /ou create!
the sche1a 4or the 1essage. Because the e+pression e.aluates ,hich 1essages Bi?Talk Ser.er
re(ectsC /ou a!! the e+pression to the !ecline si!e o4 the !ecision shape.
8ou use the E+pression E!itor to create e+pressions to e+pan! the capa9ilities o4 .arious
orchestration shapes. In this proce!ureC /ou use it to construct a Boolean e+pression in the
;ecision shape. The E+pression E!itor inclu!es an IntelliSense> 4eature that helps gui!e /ou in
creating the e+pression.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 7: Con4igure the Trans4or1 Shape to
:se the 3ap.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To +rite the ILANJ6s e5pression )or the decision rule
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC !ou9le@click EAI&rocess9od5.
5. In Orchestration 6esignerC on the !esign sur4aceC !ou9le@click the ;ecline shape.
Note
'hen /ou !ou9le@click the ;ecline shapeC the E+pression E!itor opens.
6. In the Bi?Talk E+pression E!itorC t/pe the 4ollo,ing e+pression:
I"portant
61
The s/nta+ use! in the E+pression E!itor is case sensiti.e.
RequestInstance.Item.Quantity >500
The 4ollo,ing 4igure sho,s the E+pression E!itor ,ith the e+pression.
7. Click O0 to close the Bi?Talk E+pression E!itor.
&. On the *ile 1enuC click Sa%e All.
Note
8ou ha.e no, a!!e! all o4 the e+pressions in the orchestration.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can go to the ne+t stepC Step 5: Buil! the EAIOrchestrations $ro(ect.
3hat did I $ust do4
In this stepC /ou ,rote an e+pression 4or the !ecision shape.
Ne5t Steps
8ou 9uil! the pro(ect to generate an asse19l/ in Step 5: Buil! the EAIOrchestrations $ro(ect.
See Also
Step 7: Con4igure the Trans4or1 Shape to :se the 3ap
Step 5: Buil! the EAIOrchestrations $ro(ect
6"
Step E: Build the EAIOrchestrations &ro$ect
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou co1pile the EAIOrchestrations pro(ect to create a 6LL 4ile.
&urpose: A4ter /ou create the EAIOrchestrations pro(ect an! a!! the necessar/ ite1s to itC /ou
9uil! the pro(ect to generate an asse19l/. An asse19l/ is a collection o4 resources in the pro(ect
that are store! in a 6LL 4ile.
All resources the EAIOrchestrations pro(ect re%uires 1ust 9e a.aila9le to it 9e4ore /ou 9uil! the
EAIOrchestrations pro(ect. 8ou 1ake the resources a.aila9le 9/ 9uil!ing the pro(ect that contains
those resources. 8ou !i! this ,hen /ou 9uilt the EAISche1as pro(ect at the en! o4 Lesson 1. In
this caseC ,hen /ou 9uilt the EAISche1as pro(ectC /ou 1a!e the sche1as a.aila9le to the
EAI$rocess orchestration.
The output ta9 locate! at the 9otto1 o4 /our screen !ispla/s the results o4 9uil!ing the pro(ect.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step &: 'rite the ;LA*<=s E+pression 4or
the 6ecision.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To #uild the EAIOrchestrations pro$ect
1. Click StartC point to &rogra"sC point to (icroso)t Visual Studio 2!C an! then
click (icroso)t Visual Studio 2!.
". In isual Stu!io "##5C on the *ile 1enuC point to OpenC an! then click
&ro$ect6Solution.
-. In the Open &ro$ect !ialog 9o+C click EAISolutionC an! then click Open.
2. In Solution E+plorerC right@click the EAIOrchestrations pro(ect an! click &roperties.
5. In the EAIOrchestrations &ropert- &ages !ialog 9o+C in the tree paneC e+pan!
Co""on &ropertiesC click Asse"#l-C an! then in the properties listC click the
Asse"#l- 0e- *ile ellipsis IAK.
The 4ollo,ing 4igure sho,s the EAIOrchestrations &ropert- &ages !ialog 9o+.
6-
6. In the Asse"#l- 0e- *ile !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Look in *a.igate to C:/Tutorial.
*ile na"e T/pe Tutorial9snk.
Note
8ou create! the Tutorial.snk
strong na1e ke/ 4ile in EStep 2:
Create a Strong *a1e Ke/ 7ileF
in EBe4ore 8ou Begin the
Tutorials.F
7. Click Open.
&. In the EAIOrchestrations &ropert- &ages !ialog 9o+C in the tree paneC e+pan!
Con)iguration &ropertiesC click ;eplo-"entC an! then !o the 4ollo,ing:
62
,se this To do this
Application Na"e T/pe EAIApplication.
Note
Buil!ing the EAIOrchestrations
pro(ect creates the
EAIApplication applicationC
,hich appears in the Bi?Talk
Ser.er A!1inistration console
an! contains the
EAIOrchestrations asse19l/.
2edeplo- 7ro1 the !rop@!o,n listC select True.
5. Click O0.
1#. On the *ile 1enuC click Sa%e All.
11. In Solution E+plorerC right@click EAIOrchestrationsC an! then click Build.
The Output pane at the 9otto1 o4 the screen shoul! rea!: Build: 2 succeeded or up8to8
dateF )ailedF skipped9
Note
To !ispla/ the Output paneC on the Vie+ 1enuC click Output.
8ou are no, rea!/ to !eplo/ /our solution to a testing en.iron1ent.
Note
8ou sa.e! /our ,ork. 8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou
can start Lesson -: 6eplo/ the Solution.
3hat did I $ust do4
In this stepC /ou co1pile! the EAIOrchestrations pro(ect to create a 6LL 4ile.
Ne5t steps
8ou !eplo/ the EAISolution solution in Lesson -: 6eplo/ the Solution.
See Also
Step &: 'rite the ;LA*<=s E+pression 4or the 6ecision
Lesson -: 6eplo/ the Solution
65
Lesson 7: ;eplo- the Solution
The 4irst step in !eplo/ing /our Bi?Talk solution is to a!! it to the Bi?Talk 3anage1ent !ata9ase
an! the glo9al asse19l/ cache.
The secon! step is to con4igure EAIApplication an! start it. 8ou speci4ie! the EAIApplication
application 4or 9oth pro(ects in the EAISolution solution in Lesson ": 6e4ine the Business $rocess.
'hen /ou !eplo/ the solutionC Bi?Talk Ser.er a!!s the pro(ects an! their arti4acts to the
EAIApplication application. 8ou use the Bi?Talk Ser.er A!1inistration console to con4igure
EAIApplication.
In this lessonC /ou learn a9out a!1inistering Bi?Talk Ser.er "##6 arti4acts 9/ using the Bi?Talk
Ser.er A!1inistration console. 7or in4or1ation a9out using the Bi?Talk Ser.er A!1inistration
consoleC see E:sing the Bi?Talk Ser.er A!1inistration ConsoleF in Bi?Talk Ser.er "##6 Gelp.
Con4iguring an application in.ol.es speci4/ing a Bi?Talk Gost 4or the applicationC an! 9in!ing the
ports in the application. In Lesson "C /ou a!!e! logical ports to the EAI$rocess orchestration. In
this lessonC /ou !e4ine the ph/sical ports that inclu!e transport t/pe an! location 4or the ports.
The last step in the !eplo/1ent process is to start the EAIApplication application. Starting
EAIApplication starts the orchestration an! the portsC so the solution can recei.e an! process
1essages.
Be4ore /ou 9egin this lessonC /ou 1ust co1plete the steps in Lesson ": 6e4ine the Business
$rocess. 7or in4or1ation a9out !o,nloa!ing a 3icroso4t O44ice 'or! "##- .ersion o4 the Bi?Talk
Ser.er "##6 TutorialsC see EStep 6: $rint the TutorialsF in EBe4ore 8ou Begin the Tutorials.F
In This Section
Step 1: 6eplo/ the $ro(ects
Step ": Con4igure an! Start the EAI Application
Step -: Test the EAI Solution
Step 1: ;eplo- the &ro$ects
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou !eplo/ the EAISche1as an! EAIOrchestration pro(ects.
&urpose: 8ou !eplo/ a Bi?Talk Ser.er pro(ect to place a cop/ o4 the asse19l/ in the Bi?Talk
3anage1ent !ata9ase Aalso kno,n as the Con4iguration !ata9aseB an! install it in the glo9al
asse19l/ cache. 8ou create! asse19lies ,hen /ou 9uilt the EAISche1as an! EAIOrchestrations
pro(ects in the prece!ing lesson.
In this stepC /ou !eplo/ 9oth pro(ects Aalso kno,n as asse19liesB in /our solution:
EAISche1as.!ll an! EAIOrchestrations.!ll.
66
8ou can run the !eplo/ process on the solution. 6eplo/ing the solution !eplo/s 9oth pro(ects in
the proper or!er. I4 /ou !eplo/ the pro(ects in!i.i!uall/C /ou 1ust !eplo/ the1 in re.erse or!er o4
!epen!enc/C starting 4ro1 the in!epen!ent asse19lies an! then 1o.ing on to the asse19lies
that are !epen!ent upon those !e.elope! earlier.
Note
I4 /ou 4in! this con4usingC there is no nee! to 9e concerne!. isual Stu!io ,ill tell /ou the
or!er in ,hich /ou 1ust 9uil! an! !eplo/ /our pro(ects. Nust right@click a pro(ectC an! then
click &ro$ect Build Order. The &ro$ect ;ependencies !ialog 9o+ sho,s /ou the 9uil!
or!er 4or /our pro(ects an!C on the ;ependencies ta9C sho,s the !epen!enc/
relationship 9et,een the pro(ects.
In the EAISolution solutionC the EAIOrchestrations pro(ect re4erences sche1as in the
EAISche1as pro(ect. I4 /ou !eplo/ the pro(ects in!i.i!uall/C /ou ,oul! !eplo/ EAISche1as 4irst. I4
/ou 9uil! or !eplo/ pro(ects in the ,rong or!erC the process 4ails.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
Be4ore /ou 9egin this step /ou 1ust co1plete Step 5: Buil! the EAIOrchestrations
$ro(ect.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To deplo- the pro$ects
1. In Solution E+plorerC right@click Solution 1EAISolution1C an! then click &roperties.
". In the Solution 1EAISolution1 &roperties &ages !ialog 9o+C in the tree controlC
e+pan! Con)iguration &ropertiesC an! then click Con)iguration.
-. On the Con)iguration pageC in the ;eplo- colu1nC select the check 9o+es 4or 9oth
the EAISche"as an! EAIOrchestrations pro(ectsC an! then click O0.
2. In Solution E+plorerC right@click Solution 1EAISolution1C an! then click ;eplo-
Solution.
Note
'hen /ou !eplo/ the solutionC isual Stu!io !eplo/s all o4 the pro(ects in the
solutionC in the or!er o4 !epen!enc/. I4 /ou choose to !eplo/ the pro(ects
in!i.i!uall/ /oursel4C /ou 1ust !eplo/ the EAISche1as pro(ect 4irstC ,ait 4or the
!eplo/1ent process to co1pleteC an! then !eplo/ the EAIOrchestrations pro(ect.
The Output pane at the 9otto1 o4 the screen shoul! rea!: ;eplo- Operation
Succeeded.
Note
67
To !ispla/ the Output paneC on the Vie+ 1enuC click Output.
Note
8ou can sa4el/ close isual Stu!io "##5 at this ti1eC or /ou can start Step ":
Con4igure an! Start the EAI Application.
3hat did I $ust do4
In this stepC /ou !eplo/e! the EAISche1as an! EAIOrchestrations pro(ects
Ne5t Steps
8ou a!! a one@,a/ sen! port that sen!s appro.e! in.entor/ replace1ent 1essages to an E0$
s/ste1 4or 4ul4ill1ent in Step ": Con4igure an! Start the EAI Application.
See Also
Step 5: Buil! the EAIOrchestrations $ro(ect
Step ": Con4igure an! Start the EAI Application
Step 2: Con)igure and Start the EAI
Application
Ti"e to co"plete: 1# 1inutes
O#$ecti%e: In this stepC /ou con4igure an! start the EAIApplication application.
&urpose: 'hen /ou con4igure EAIApplicationC /ou associate the logical arti4acts /ou create! in
isual Stu!io ,ith their ph/sical counterparts. In this stepC /ou 9in! the EAI$rocess orchestration
to a Bi?Talk Gost. A Bi?Talk Gost is a Bi?Talk Ser.er run@ti1e process. In a!!itionC /ou 9in! the
ph/sical ports /ou !e4ine in this step to the logical ports /ou create! in Step 5: A!! $orts to the
Orchestration.
8ou use the Bi?Talk Ser.er A!1inistration console to con4igure EAIApplication. In the 4ollo,ing
proce!ureC /ou select a host 4or the applicationC an! !e4ine a recei.e location an! ph/sical
recei.e portC an! t,o ph/sical sen! ports. A4ter /ou con4igure the applicationC /ou start it. Starting
the application 1eans that it can start processing 1essages.
&rere'uisites
*ote the 4ollo,ing re%uire1ents 9e4ore /ou 9egin this step:
6&
Be4ore /ou 9egin this step /ou 1ust co1plete Step 1: 6eplo/ the $ro(ects.
8ou 1ust log on as a 1e19er o4 the Bi?Talk Ser.er A!1inistrators group.
&rocedures
To con)igure EAIApplication
1. Click StartC point to &rogra"sC point to (icroso)t Bi.Talk Ser%er 2>C an! then
click Bi.Talk Ser%er Ad"inistration.
". In the console tree on the le4t si!e o4 the Bi?Talk Ser.er A!1inistration consoleC
e+pan! Bi.Talk Ser%er 2> Ad"inistrationC right@click Bi.Talk JroupC an! then click
2e)resh.
-. E+pan! Bi.Talk JroupC e+pan! ApplicationsC right@click EAIApplicationC an! then
click Con)igure.
The 4ollo,ing 4igure sho,s the Con)igure Application !ialog 9o+.
2. In the Con)igure Application !ialog 9o+C on the EAI&rocess ta9C !o the 4ollo,ing:
65
,se this To do this
:ost 7ro1 the !rop@!o,n listC select
Bi.TalkSer%erApplication.
2ecei%e2e'&ort 7ro1 the !rop@!o,n list un!er 2ecei%e
&ortsC select Ne+ recei%e port.
Note
This is a gri! control. 8ou 1ust
4irst click in the cell across 4ro1
2ecei%e2e'&ort 9e4ore the
!rop@!o,n list control appears.
The 4ollo,ing 4igure sho,s the 2ecei%e &orts !rop@!o,n list.
5. In the 2ecei%e&ort1 8 2ecei%e &ort &roperties !ialog 9o+C in the Na"e 9o+C t/pe
2ecei%e&ortH2ecei%e2e'.
6. On the 2ecei%e Locations ta9C click Ne+.
The 4ollo,ing 4igure sho,s the Ne+ 9utton.
7#
7. In the 2ecei%eLocation1 8 2ecei%e Location &roperties !ialog 9o+C on the Jeneral
ta9C !o the 4ollo,ing:
,se this To do this
Na"e T/pe 2ecei%eLocationH2ecei%e2e'.
T-pe 7ro1 the !rop@!o,n listC select *ILEC an!
then click Con)igure.
&. In the *ILE Transport &roperties !ialog 9o+C on the Jeneral ta9C click Bro+se.
5. In the Bro+se *or *older !ialog 9o+C e+pan! (- Co"puterC na.igate to
C:/Tutorial/*iledrop/2ecei%e2e'uestC an! then click O0.
1#. In the *ILE Transport &roperties !ialog 9o+C click O0.
11. In the 2ecei%eLocationH2ecei%e2e' 8 2ecei%e Location &roperties !ialog 9o+C
4ro1 the 2ecei%e pipeline !rop@!o,n listC select I(L2ecei%eC an! then click O0.
The 4ollo,ing 4igure sho,s the 2ecei%eLocationH2ecei%e2e' 8 2ecei%e Location
&roperties !ialog 9o+ ,ith the I(L2ecei%e pipeline.
71
1". In the 2ecei%e&ortH2ecei%e2e' 8 2ecei%e &ort &roperties !ialog 9o+C click O0.
1-. In the Con)igure Application !ialog 9o+C on the EAI&rocess ta9C 4ro1 the !rop@
!o,n list 4or Send;ecline&ortC un!er Send &ortsC select Ne+ send port.
Note
This is a gri! control. 8ou 1ust 4irst click in the cell across 4ro1
Send;ecline&ort 9e4ore the !rop@!o,n list control appears.
12. In the Send&ort1 8 Send &ort &roperties !ialog 9o+C on the Jeneral ta9C !o the
4ollo,ing:
,se this To do this
Na"e T/pe Send&ortHSend;ecline&ort.
T-pe 7ro1 the !rop@!o,n listC select *ILEC an!
then click Con)igure.
15. In the *ILE Transport &roperties !ialog 9o+C on the Jeneral ta9C click Bro+se.
7"
16. In the Bro+se *or *older !ialog 9o+C e+pan! (- co"puterC na.igate to
C:/Tutorial/*ile;rop/2e'uest;eniedC an! then click O0.
17. In the *ILE Transport &roperties !ialog 9o+C on the Jeneral ta9C in the *ile na"e
9o+C t/pe ;eniedL(essageI;L95"lC an! then click O0.
1&. In the Send&ortHSend;ecline&ort 8 Send &ort &roperties !ialog 9o+C click O0.
15. In the Con)igure Applications !ialog 9o+C on the EAI&rocess ta9C 4ro1 the !rop@
!o,n list 4or SendToE2&C un!er Send &ortsC select Ne+ send port.
Note
This is a gri! control. 8ou 1ust 4irst click in the cell across 4ro1 SendToE2&
9e4ore the !rop@!o,n list control appears.
"#. In the Send&ort1 8 Send &ort &roperties !ialog 9o+C !o the 4ollo,ing:
,se this To do this
Na"e T/pe Send&ortHSendToE2&.
T-pe 7ro1 the !rop@!o,n listC select *ILEC an!
then click Con)igure.
"1. In the *ILE Transport &roperties !ialog 9o+C on the Jeneral ta9C click Bro+se.
"". In the Bro+se *or *older !ialog 9o+C e+pan! (- Co"puterC na.igate to
C:/Tutorial/*ile;rop/E2&S-sC an! then click O0.
"-. In the *ILE Transport &roperties !ialog 9o+C click O0.
"2. In the Send&ortHSendToE2& 8 Send &ort &roperties !ialog 9o+C click O0.
"5. In the Con)igure Application !ialog 9o+C click O0.
"6. In the console treeC right@click EAIApplicationC an! then click Start.
"7. In the Start 1EAIApplication1 Application !ialog 9o+C click OptionsC ensure that all
o4 the check 9o+es are selecte!C an! then click Start.
Note
The ne+t steps .eri4/ that the application starte!.
"&. In the console treeC click Applications.
"5. In the Applications !etails paneC check that the Status o4 EAI Application is Started.
Note
I4 the status is &artiall- StartedC in the console treeC e+pan! EAIApplicationC
an! then click 2ecei%e Locations. In the 0ecei.e Locations !etails paneC right@
click the recei.e locationC an! then click Ena#le. In the console treeC click
Applications. In the Applications !etails paneC right@click EAIApplicationC an!
then click 2e)resh. The status shoul! no, 9e Started.
7-
3hat did I $ust do4
In this stepC /ou con4igure! an! starte! the EAIApplication application.
Ne5t Steps
8ou test ho, the EAI solution processes 1essages in Step -: Test the EAI Solution.
See Also
Step 1: 6eplo/ the $ro(ects
Step -: Test the EAI Solution
Step 7: Test the EAI Solution
Ti"e to co"plete: 5 1inutes
O#$ecti%e: In this stepC /ou test ho, the EAI solution processes 1essages.
&urpose: In this stepC /ou check that the EAI$rocess orchestration processes 1essages
correctl/. 8ou !o this 9/ !ropping sa1ple 1essages into the recei.e location speci4ie! 4or the EAI
application. I4 the EAI solution is ,orking properl/C i4 the EAI$rocess orchestration recei.es a
1essage 4ro1 the ,arehouse re%uesting 1ore than 5## ite1sC the orchestration generates a
!ecline re%uest 1essage. I4 the EAI$rocess orchestration recei.es a 1essage 4ro1 the
,arehouse re%uesting 4e,er than 5## ite1sC the orchestration passes the 1essage on to the
E0$ s/ste1.
&rere'uisites
Be4ore /ou 9egin this step /ou 1ust co1plete Step ": Con4igure an! Start the EAI Application.
&rocedures
To test the EAI solution
1. In 'in!o,s E+plorerC na.igate to C:/Tutorial.
". Cop/ 2ep2e'uestAccepted95"l an! paste it into
C:/tutorial/*iledrop/2ecei%e2e'uest.
-. 'hen the 4ile !isappearsC check C:/tutorial/*iledrop/E2&S-s.
The 4ile na1e o4 the appro.e! 1essage is no, a <:I6. The 0ep0e%uestAccepte!.+1l
1essage 1eets the con!ition to 9e appro.e!. 8ou set the con!ition 4or appro.ing
72
1essages in the orchestration.
2. In 'in!o,s E+plorerC na.igate to C:/Tutorials.
5. Cop/ 2ep2e'uest;enied95"l an! paste it into
C:/tutorial/*iledrop/2ecei%e2e'uest.
6. 'hen the 4ile !isappearsC check C:/tutorial/*iledrop/2e'uest;enied.
The 4ile na1e o4 the !enie! 1essage is no, L6enie!L 4ollo,e! 9/ a <:I6. The
0ep0e%uest6enie!.+1l 1essage !oes not 1eet the con!ition to 9e appro.e!. 8ou set
the con!ition 4or appro.ing 1essages in the orchestration. 8ou a!!e! L6enie!L to the 4ile
na1e ,hen /ou set the transport properties 4or the Send&ortHSend;ecline&ort sen!
port.
Note
I4 the 4ile !oes not appear in the 4ol!erC 1ake sure that the 4ile is not 0ea!@onl/. 7or
instructions 4or changing the 4ile attri9ute propert/C see EStep -: Install the Tutorial
7ilesF in EBe4ore 8ou Begin the Tutorials.F
3hat did I $ust do4
8ou teste! the EAI solution 9/ placing sa1ple 1essages in the recei.e location 4or the EAI
application.
Ne5t Steps
I4 the test ,orke!C congratulationsO 8ou ha.e co1plete! the 4irst Bi?Talk Ser.er "##6 tutorial. I4
/ou ,oul! like to continue learning a9out Bi?Talk Ser.erC there are three 1ore tutorials. To start
the ne+t tutorialC go to ETutorial ": $urchase Or!er $rocess.F
I4 the test !i! not ,orkC care4ull/ check /our ,ork to 1ake sure that /ou a!!e! all o4 the
necessar/ o9(ects an! set their properties correctl/.
See Also
Step ": Con4igure an! Start the EAI Application
Tutorial ": $urchase Or!er $rocess
Lesson -: 6eplo/ the Solution
Cop-right
In4or1ation in this !ocu1entC inclu!ing :0L an! other Internet 'e9 site re4erencesC is su9(ect to
change ,ithout notice. :nless other,ise note!C the co1paniesC organi?ationsC pro!uctsC !o1ain
na1esC e@1ail a!!ressesC logosC peopleC placesC an! e.ents !epicte! in e+a1ples herein are
4ictitious. *o association ,ith an/ real co1pan/C organi?ationC pro!uctC !o1ain na1eC e@1ail
75
a!!ressC logoC personC placeC or e.ent is inten!e! or shoul! 9e in4erre!. Co1pl/ing ,ith all
applica9le cop/right la,s is the responsi9ilit/ o4 the user. 'ithout li1iting the rights un!er
cop/rightC no part o4 this !ocu1ent 1a/ 9e repro!uce!C store! in or intro!uce! into a retrie.al
s/ste1C or trans1itte! in an/ 4or1 or 9/ an/ 1eans AelectronicC 1echanicalC photocop/ingC
recor!ingC or other,iseBC or 4or an/ purposeC ,ithout the e+press ,ritten per1ission o4 3icroso4t
Corporation.
3icroso4t 1a/ ha.e patentsC patent applicationsC tra!e1arksC cop/rightsC or other intellectual
propert/ rights co.ering su9(ect 1atter in this !ocu1ent. E+cept as e+pressl/ pro.i!e! in an/
,ritten license agree1ent 4ro1 3icroso4tC the 4urnishing o4 this !ocu1ent !oes not gi.e /ou an/
license to these patentsC tra!e1arksC cop/rightsC or other intellectual propert/.
P "##& 3icroso4t Corporation. All rights reser.e!.
3icroso4tC Bi?TalkC IntelliSenseC an! isual Stu!io are tra!e1arks o4 the 3icroso4t group o4
co1panies.
All other tra!e1arks are propert/ o4 their respecti.e o,ners.
76

Вам также может понравиться