cudortnI 2 3 4 5 6 . . y r a s o l .G . . srotcA . Use Case l are vO lanoitc uf- N iuqeR :1CU cruP 1.6 2.6 3.6 4.6 5.6 6. 7.6 7 :2CU ruoS 1.7 2.7 3.7 4.7 5.7 6.7 7. 8.7 8 :3CU nelp R 1.8 2.8 3.8 4.8 5.8 6.8 9 :4CU y lp uS iF 1.9 Defin Defin n i a M sc eu S . h t a P . . Defin n i a M sc eu S . h t a P . . TLA :1 esuoh raW A ’nac TLA :2 esuoh raW B ’nac T L A : 3 s nc t Ii f u e t n a u q y t i vc A lanoitc uf- N meriuq R nepO sI Defin n i a M sc eu S . h t a P . . : 1 T L A o N c uh S . c ut d o r P . . :2TLA gnihtoN y t i vc A lanoitc uf- N meriuq R nepO sI
. noit . . .4 .4 agr Di . . .m stnem r dna sA ase h Go . . noit . . sd . o . . snoitpmu . 5
.4
.5
.7 .7 .7 .8 . elba i vA . . .9 . 01 stne dna us a snoitpm . . 01 .1 .1 .1 .1 t l if u emos t l if u emos yti ni eraw esuoh C . . 21 . 31 ents and s u A snoitpm . . 31 . 31 s m e .t i . 2 1 s m e .t i . 2 1
. . marg iD . . . seu . ec . sdo G . . . . noit .
. . marg iD . . . seu . hsi tS . . noit . t c ru d o P r o n I . . marg iD . ents and s u A . . seu . dehsin sdo G . . . . . noit . . 71 snoitpm . . 61 . 61 d vali quant yti . 51 . . .k c o . 41 . 41
. 41 . 61
:1TLA demroflaM red O ro oN hcuS y t i vc A lanoitc uf- N meriuq R nepO sI
. 71
n i a M sc eu S . h t a P . . 3.9 4.9 5.9 10 :5CU erutcaf n M 1.0 2.01 4.01 5.01 6.01 1 :6CU rugifnoC 1. 2.1 3.1 4.1 5.1 12 :7CU goL 1.2 2. 1 3.21 4.21 5.21 6.21 7.21 13 :8CU w eiV 1.3 2.31 3. 1 4.31 5.31 6.31 Defin n i a M sc eu S . h t a P . . TLA :1 e lbanU ot ca y t i vc A lanoitc uf- N meriuq R nepO sI . . seu . . . marg iD . ents and s u A snoitpm . . 72 . 72 s ec eht . . gol 2 . . 72 Defin n i a M sc eu S . h t a P . . TLA :1 avnI TLA :2 yrotis peR y t i vc A lanoitc uf- N meriuq R nepO sI . . stne v . E . . noit . . . seu . . 52 . 52 . . marg iD . ents and s u A snoitpm . . 52 . 52 dil . at D . . ton . . elba i v . . 52 . 42 Defin n i a M sc eu S . h t a P . . y t i vc A lanoitc uf- N meriuq R nepO sI . stnevE . . . . noit . . . seu . . 32 . 32 . . marg iD . ents and s u A snoitpm . . 32 . 32 .2 . . noit . Defin n i a M sc eu S . h t a P . . y t i vc A lanoitc uf- N meriuq R nepO sI . . seu . e & Run . o m .e D . . 12 . . marg iD . ents and s u A snoitpm . . 02 . 02 . 02 . . noit . y t i vc A lanoitc uf- N meriuq R nepO sI . . seu . dehsin F . sdo G. . . 91 . . marg iD . ents and s u A snoitpm . . 81 . 81 . 81
. 71
. 19 . 91
. 12 .2
. 42 24
. 62 6
Figure 4-1: Use Case Diagram of the three systems
5 erall o-funtional e vO N n c R
nI order to simpify the esign, faciitate eiery l d l d lv Group to cocentrate on Web services and the impem n l requirements and assumptions have been defined : 1. A etailer il have exaty three a R w cl w .2 here il e exaty three manufac T w b cl 3. Each manufacturer supplies exactly three prod ie aid roduts to e offered y a eta nn v l p c b b R etc. 4. Al three warehouses stock all nine products.
uirements and ssumptions q A
of a demonstration application and allow the Working entation of the -I asic rofile, the foloig SW B P l wn rehouses ,A( ,B and C) that it ows. n turers ran1, ran,2d and ran.)3d B( d B B ucts V,(T DVD, video camera). Hence there are iler; ran1 ,VT ran2d ,VT rand ,VT3 ran1 DVD, B d B B B d
.5 For emo urposes there il d p w e one inaid rodut ran4 .VT T b v l p c B d Retailer’s catalog but is ot stocked (or recognize)d y any warehouse. n b
he rodut il e isibe in the p c w b v l
6. An order may contain multiple line items, where each ine item relates to a specific product and l uantity required. A rodut shall ot apear more than one in an order. q p c n p c
Goal of Use e : Cas
A r emusnoC s eog ot eht reliat R s eti b w iw c el troni s . duct pro 1. ctProdu ogCatl Exist .2 l A eta s es uoh r aw( s lev )cte tes kcab ot d enif rp seulav 3. Payment and s ad re ils deta for er m nsu Co are own k
ht eht tne i fo s gni ahcrup re s mu noC
:s noit d cerP
s Suc e Post s: ndit o C
1. At least one ctrodup is pedshi .2 ehT re musnoC si denrut a fnoC be d p e shi 3. The er R tail has d est r qu the war .4 tnemyaP m orf eht s ’re m u noC tiderc drac si .d er g i t a noit mr egap gni ltuo s u e ho to p shi the av il b e s. go d hci w stcudorp l iw
Failed Post s:nCodit .del if u : ro As c t : Trig e s
The er nsum Co is ed r tu n an er o sta ing
tha no e of the items in the r o de can be
r eliat R ,metsyS omeD ,mets yS re m usn oC This scerop is rtedsa by the rnsumeCo n(huma )interaco
2 . 6 s n ieh act M uP S
Step
Actor
c ript on Des
ches Bran n oit d C noitac L
1.
er s um Con
The er nsum Co s navig te to a g p in sho page.
.5
reliat R m s e y St reliat R m s e y St reliat R m s e y St
Valid te r. o de An r o de is ct rej tcu dorp tah seo d o t n .tsixe The s er’ R tail m sy te e s rmin d t h c w i use war ho can p ly su hcae enil m eti dna sk a eht e s o u h r aw ot pihs . m eht The erRtail System retuns t ind cat g c h w i line s item have n be ip ed sh nd a ich w line items could otn be .pedshi e r T ig ent paym from the s er’ um Con d r e gist - p card s (thi is a manul scerop in sthi sytem) The use se ca ends he r de o back to the r Consume
d e y l e tp m o c f i t i s n i a t o c a
oN h cuS ct Produ 2UC
1TLA
.6
.7
g Nothin elba i vA
2TLA
.8
9.
3 . 6 : 1 T L Ao N t hc u d So r P
Step
Actor
c ript on Des
ches Bran n oit d C noitac L
.1
reliat R m s e y St
The erRtail System retuns an roe to the er,sumCon ginform meht tah yeht evah detc l s a d r na b/em fo eht tc udorp si detr op ot .meht l A eti s m ni eht r o de are cted. r j The use se ca ends in re failu
c t d u orp tah s eod ton .tsixe ehT
2.
Goal of Use e : Cas :s noit d cerP s Suc e Post s: ndit o C
To locate e r d o s o d g in a se hou war and s t u e r q ent shipm no e 1. For ch ea e lin item in the orde , a re wa yti nauq dna tah esu oh raw .2 roF enil s meti tah era ,detp c a use war ho for tha uct prod are crea d useho si dectsl tha has the avilbe s hip the s. o d g eht yrotnev i slev ni eht gn ip hs d es yb eht yti nauq ni eht enil .meti yna esuoh raW rof l a fo t eh enil smeti ni eht .red o
Failed Post s:nCodit : ro As c t : Trig e s
er hT si on kcots y til ba v ni reliat R metsyS tpiec R fo red o m orf r . s emu noC
2 . 7 s n ieh act M uP S
Step Actor c ript on Des ches Bran n oit d C .1 reliat R m s e y St .2 reliat R m s e y St tnes rP eht tsil fo enil smeti ot s e u oh r aw A dna tseu q r A ot pihs s e oht smeti ti sah .elba i v cord Re the line items tha use war ho A is g p in sh d an entdcrm A’s stock slev use r ho Wa A t’nac l if u s o m e s e mi t noitac L TLA 1
TLA 1
for the items it wil ship.
.3
reliat R m s e y St
The use se ca ends
Goal of Use e : Cas
The er R tail System rs o de ds go m fro a c ture man f to sh eni r pl stock for a r pa ticul duct pro in a r ticula p use. ho r wa The r y inve to lev of a product in a r ticula p use ho r wa a s h n fal e w belo its mu in e l v ehT r y otnev i lev fo eht tc udorp ni a citr ap ehT r y otnev i lev fo eht tc udorp ni a n s r e m a i r n d e u c k es dt .o r eliat R ,metsyS c gnirut af M metsyS der g i T yl anret i ni eht reliat R metsyS .noit d c for ch ea use war ho tha det c s the prerticulap ousehwar is not pdateu nda r alu esuo h raw si ta eht mu ixa .lev
:s noit d cerP
s Suc e Post s: ndit o C Failed Post s:nCodit
: ro As c t : Trig e s
2 . 8 s n ieh act M uP S
Step Actor c ript on Des ches Bran n oit d C .1 reliat R m s e y St The er R tail System s r uct on a a se rch pu r de o for the uct prod with he t s ary ce n quanti y to bring the c t d u pro up ot sti mu ixa lev rof tah . suoheraw P l a c e r . d e O T h e r R e t a i l s y t e m s t u b m i t h e s ep u r c h a r ed o ot eht tnavel r af un M ro ) 3d narB sa deta ci yb eht c .t d u orp Validte rOde m s e y St noitac L
.2
reliat R m s e y St
g cturin System nd1, (Bra 2 Brand
3.
gncturiMaf
dMalforme ro d e o r dilavn uct prod r o dilavn yti nauq
TLA 1
Goal of Use e : Cas
ehT laog fo si ht esu es ac s i ot ait n n ish g repl he t ck sto s lev of a d c if e sp uct. prod Stock s lev for the u fact red m n uc r od p est r qu r o ck sto s lev e hav fal en w belo the min u lev for the uct. prod The s ary ce n parts and eir th nti es qua for a c tion d u pr run r e a ail b e. v
te a ction pr du run for the s e pur o of
:s noit d cerP
t era ton tneic f us ot te m a s e ahcrup
s Suc e Post s: ndit o C Failed Post s:nCodit : ro As c t : Trig e s
ehT kcots lev rof eht derutcaf n m rp kcotS s lev l iw eb tfel .degnahc u g n c irut af M metsyS c re ut af n M si d ets uq r ot ylp us dehsin f s do g
tcudo l iw eb ta eht mu ixa .lev
2 . s 0 n 1 ieh act M uP S
Step Actor c ript on Des ches Bran n oit d C .1 g n c turi Ma f m s e y St enimr t D r t a p tsil dna seit n auq d u eri q ot c e r u t a f n m . t c u d o r p y nt i a u Q o t e r u t c a f n m = r e d o yti nauq – tner uc r y otnev i lev + xam yrotnev i l ev Star on cti pr du run. noitac L
.2
g n c turi Ma f m s e y St g n c turi Ma f m s e y St g n c turi Ma f m s e y St
.3
tiaW rof noitcu d rp nur ot .hsin f
.4
S t a c k d s h e f i n s g o d i n s ) r c’ at nu fe ( m s e . h o u w a r
Goal of Use e : Cas
Alow the rsonpe peratingo the demo k.a( dem ,tner f id tnelav iuq bew ecivr s s . noita e m lp er hT si er om naht eno n oita em lp hcaE bew ecivr s tah si der f o a s h n e b g rkin Wo up. Gro of each web c e s rvi to o se ch from. d e v o r p a y b s ’ I - S W pe l m a S s n o i t a c l p A
o )re s u ot tc el s morf g noma a tsil fo
:s noit d cerP
s Suc e Post s: ndit o C Failed Post s:nCodit
A nratiocfgu is dectsl and the odem is d.stare 1. c t In or e or mplet inco n uratio c f g cted s l .2 stniopd E ton elba i v
: ro As c t : Trig e s
Demo er, Us Demo m ste Sy omeD resU aset giv n ot e ht I-SW o med bew .ega p
Goal of Use e : Cas
ehT laog fo si ht esu es ac s i ot gol tnev seca for the osepur of ablinge a oDem User to view thes ts.evn In this way the oDem User wil eb able to se chwi web srvice have enb dsumecon by a given eration p nd a e th e s outc m f o those b we s . ervic ehT stnev dluohs e b elba ot eb dew iv ta yna .emit sihT yam na em tah rof s u chron a y s ration pe one or o re m web s c e rvi may stil be ex cuting.
s gnitaler ot eht n oitucex f o rehto esu
:s noit d cerP s Suc e Post s: ndit o C Failed Post s:nCodit
no e tnevE si de g ol ot eht .yrotis pe 1. An entry wil be ed a to the log, c h w i wil ude incl n a er o code and pn o i t r c s e d g n iu l t o e h t e s u a c f o e h t . e r u l i a f r O .2 yr otis peR si ton elba i v
: ro As c t : Trig e s
y n A b e w c i e v r s ms e t y s a , r o t a i n I o m e D . ms ey S t ,noita I noita mre r o ny a tnacif g s iop u s e s . ec a nt in the ecutionx of neo of the reco
Goal of Use e : Cas
ehT laog fo si ht esu es ac s i ot wol a eht d oc ur e as a result of ing ru the demo. Events drelat to the demo user rea rlycea marked in the log. Events are d splaye i
omeD resU o t weiv eht gol fo stnev tah
:s noit d cerP s Suc e Post s: ndit o C