Académique Documents
Professionnel Documents
Culture Documents
Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners G ide !or "racle So#. The doc ment !oc ses managing "racle So# $omposite application. %oin o r pro!essional training program and learn !rom e&perts.
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,
Contents
3anaging S"# $omposite #pplications........................................................................................ , $ontents....................................................................................................................................... . 3anaging S"# $omposite #pplications........................................................................................ 4 S"# In!rastr ct re 3en 5ist items........................................................................................... 6 How to manage S"# composite instances !rom soa- in!rastr ct re ...........................................7 8a lt and 0e9ected 3essages.................................................................................................. ,+ 8or ":S3 sec rit' policies .................................................................................................... ,4 8or HTTP ................................................................................................................................. ,4 8or #dvanced ......................................................................................................................... ,6 *e!a lt .................................................................................................................................... ,6
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .
Step #: 5ogin to "racle 8 sion 3iddleware $ontrol Enter =ser /ame A weblogic Password A welcome, $licB 5ogin
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4
Step %: 0ight clicB on soa-in!ra <#dminServer@ C observe a men list that it contains s b elements which has some importance C these are Home, montoring,5ogs, Soa deplo'ment , 3anage Partitions , Service engines, Bindings , services C re!erences, B siness events ,S"# #dministration ,sec rit', administration , General In!ormation
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 6
Monitoring: To monitor per!ormance s mmar' C 0eD est Processing we se this monitoring item !rom men list then either Per!ormance s mmar' or 0eD est Processing
&ogs: To checB log details we se this item SOA Deplo'ment( 8rom here we can *eplo' , =ndeplo' C 0edeplo' Soa composite application
Manage partitions: To create ,delete C manage partition o! soa in!rastr ct re we se this item . /ote Ewe cannot rename partitions E Ser(ice )ngines : In service engines we have BPE5 ,3ediator ,H man :orB!low C b sines 0 les so !rom here we can per!orm vario s tasBs .
*indings : :e can taBe se o! B.B binding. B.B means b siness to b siness so commerce transactions between b sinesses, s ch as between a man !act rer and a wholesaler, or between a wholesaler and a retailer
Ser(ices + re!erences: "n clicBing services C re!erence we can enter inside a page where the detailed in!ormation o! services C re!erences are available C also we can administer it !rom there. *usiness )(ent (Events consist o! message data sent as the res lt o! an occ rrence in a b siness environment so here in b siness event we can easil' s bscribe, Test, Show event de!inition , s bscriptions C !a lts . SOA Administration : Inside it there are vario s properties are available !or con!ig ration.
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page F
Securit': To create application policies C #pplication roles we se this sec rit' item !rom men list o! soa in!rastr ct re. Administration : #dministration consists 3*S con!ig ration, Top5inB Sessions, S'stem 3Bean Browser ,eneral -n!ormation : It contains Target name , version, oracle home ,3iddleware home ,domain home , host , *eplo'ed on .
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 7
Step /: Search a partic lar composite b' writing composite name in the search bo& C hit enter , !or e&le To search Hello:orldPro9ect G,.+H we have written Hello in the search bo& to search this composite. So as we have !iltered the composite b' sing search bo& now select it C observe that all the tabs will appear as live now we can per!orm !ollowing activities s ch as Sh tdown , 0etire , *eplo', =ndeplo', 0edeplo' etc. also !rom this panel we can vis aliIe composite its partition , stat s , mode, Instances, 8a lted instances
Step 7: $licB on view --; col mn --; show all to see all in!ormation o! composite .
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ?
Step 0: $licB on Instances at the S"# In!rastr ct re home page to do certain operations on composite instances
Step 1:"pen Instances C clicB to select it /ow per!orm operation s ch as *elete selected "r *elete with option so clicB to *elete with option
Step 10: *elete :ith options ( Instances page will appear so !rom here we speci!' the criteria !or selecting C deleting instances directl' !rom database . So choose $ommon *elete "ptions C it has !ollowing options "lder than .6 ho rs , older than ? da's , older than 4, da's , older , 'ear so select option as per choise to delete instances then clicB delete
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page J
Step 11: I! we choose to delete all instances that matches these criteria we wo ld have to !ill all the criteria i.e start time !rom ,start time to , E&ec tion state , !a lt state etc we can delete instances b' speci!'ing E&ec tion state s ch as 0 nning , completed , terminated or stale state
we can also choose 8a lt state o! instance to delete s s ch as /o !a lts , 8a lted <all@ , 8a lt 0ecover' 0eD ired , /o recoverable !a lts .
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 2
Step 1#: "n clicBing to *elete b tton it will prompt !or con!irmation C so again clicB to delete .
Step 1%: Handle 8a lts b' sing !ollowing options s ch as select , view, 0ecover' action <i! recoverable@ , *elete re9ected message C recover with options so clicB on 0ecover with option to recover 0ecoverable !a lts .
Step 14: :e have !ollowing options to recover !a lts C these are ( www.bispsol tions.com www.bisptrainigs.com www.h'periong r .com Page ,+
$hoose $ommon 0ecover' "ption s ch as retr' , #bort 0ecover all ( This will recover all recoverable !a lts o! all the composites sing the common recover' action speci!ied above . 0ecover all recoverable 8a lts that match these criteria $licB to recover
Stepwise proced re how to manage soa composite #pplications thro gh Soa $omposite Home Page Step 1/: In this S"# $omposite Home page we have !ollowing tabs to operate an individ al composite application These are ( 0 nning instances Total #ctive 0etire Sh t *own Test Settings *ashboard , Instances , 8a lts C 0e9ected 3essages , =nit Tests , Policies . www.bispsol tions.com www.bisptrainigs.com www.h'periong r .com Page ,,
Step 10: :e have s ccess! ll' entered inside page where we can test new services /ow observe that there is :S*5 i.e web service description lang age , Service , Port , "peration, Endpoint =05 , 0eD est C 0esponse =nder 0eD est there are sec rit', K alit' "! Service , Http transport "ptions , #dditional Test "ptions C !inall' Inp t arg ments
Step 11: E&pand Sec rit' C see that there are vario s option !or sec rit' so choose one o! them ":S3 Sec rit' Policies ( ":S3 means "racle :eb Service 3essaging , to con!ig re ":S3 properties provide
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,.
For HTTP
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,4
For Ad anced
!efault
Step #0: E&pand K alit' o! services C see that there are vario s option !or D alit' so choose one o! them :S-03 ( :eb Service 0eliable 3essaging C it has s b parts ,. :S*5 *e!a lt .. /one 4. $ stom 3T"3 ( 3essage Transmission "ptimiIation 3echanism :S-#ddressing ( webservice #ddressing B t we are sing here b' de!a lt c stom K alit' o! service
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,6
Step ##: TaBe additional Test "ptions marB on Enable Stress Test , $onc rrent Threads AF , 5oops per thread A ,+ , *ela' in milliseconds A ,+++ /ow there are F threads per loop C since there are ,+ loops C dela' time is ,+++ so it will complete its Stress test in calc lated time C n mber o! tests sho ld be F+ i.e conc rrent threads L 5oops per threads also Enter Inp t arg ment e&le #3IT then clicB Test :eb Service
Stress Test E&ec tion Stat s - $ompleted S ccess! ll' i.e E&ec ted F+ o! F+ tests , $licB $lose
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,F
Step #$( /ow To test :eb Service Enter !ollowing details /ame A #//"/M3"=S C $5I$- Test :eb Service
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,7
Response is s own 5elow: Greetings A HE55"((#//"/M3"=S /ow a new composite instance is generated so clicB to &aunc 2low 6race
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,?
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,J
warning will displa' that 'o are abo t to retire the de!a lt revision o! the composite . $licB to Retire #ctive revision .
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page ,2
/ow s ccess! ll' #ctivated $omposite. Step #/: Since Hello:orldPro9ect composite is p so i! we want to sh t down it so clicB to S ut Down
$licB to Mes
Step #7: "bserve that a!ter sh tdown composite green p arrow is changed to red down arrow it indicate that the composite is sh t down C so no more services wo ld be tested . also a con!irmation message is displa'ed www.bispsol tions.com www.bisptrainigs.com www.h'periong r .com Page .+
"bserve that a!ter Start p composite red down arrow is changed to green indicate that the composite is again started C so services can be tested .
p arrow it
Step #0( G#H$licB on setting ---; $omposite # dit 5evel then choose !ollowing option
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .,
,@ Inherit .@"!!
GBH $licB on setting ---; Pa'load )alidation then choose !ollowing option ,@ Inherit .@Enable 4@ *isable
3onitors C sensors !or this composite are enabled as shown below so i! we want to disable these sensors then se Disa5le All "therwise cancel www.bisptrainigs.com www.h'periong r .com Page ..
www.bispsol tions.com
Step #1: Show :S*5 and Endpoint =0I b' clicBing on icon shown below
"n clicBing to its icon a page !or Service Endpoint and :S*5 displa'ed then clicB oB
Step $0( To view &ml de!inition clicB on its icon C see how &ml is de!ined
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .4
$licB oB
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .6
Step $$( Select #vailable policies C clicB on Attac C i! there is an' polic' is alread' attached then select alread' attached polic' C clicB on Detac
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .F
/ow we have s ccess! ll' attached two policies <,@ "racle>logNpolic' <.@ oracle>noNa thoriIationNcomponentNpolic'
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .7
/ow checB stat s o! policies attached C also either Enable or *isable polic' 0e!erence Stat s
$licB on 9-): C arrange $ol mns C sec rit' violations also we can reorder col mns
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .?
Step $%: "pen /avigator --; right clicB devNsoa nder :eblogic *omain ---; :eb Services ---; Policies
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .J
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page .2
$licB "- to open polic' !ile in notepad C also checB all a thentication C a thoriIation
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4+
Owsp(Polic' &mlns(wspAEhttp(>>schemas.&mlsoap.org>ws>.++6>+2>polic'E &mlnsAEhttp(>>schemas.&mlsoap.org>ws>.++6>+2>polic'E &mlns(oralgpAEhttp(>>schemas.oracle.com>ws>.++7>+,>loggingpolic'E &mlns(oraspAEhttp(>>schemas.oracle.com>ws>.++7>+,>sec rit'polic'E &mlns(orawspAEhttp(>>schemas.oracle.com>ws>.++7>+,>polic'E &mlns(ws AEhttp(>>docs.oasis-open.org>wss>.++6>+,>oasis-.++6+,-wss-wssec rit'- tilit',.+.&sdE &mlns(&siAEhttp(>>www.w4.org>.++,>P35Schema-instanceE /ameAEoracle>bindingNa thoriIationNden'allNpolic'E orawsp(attachToAEbinding.serverE orawsp(categor'AEsec rit'E orawsp(descriptionAEi,Jn(oracle.wsm.reso rces.polic'description.Polic'*escriptionB ndl eNoracle>bindingNa thoriIationNden'allNpolic'NPol'*esc-e'E orawsp(displa'/ameAEi,Jn(oracle.wsm.reso rces.polic'description.Polic'*escriptionB n dleNoracle>bindingNa thoriIationNden'allNpolic'NPol'*isp/ame-e'E orawsp(localoptimiIationAEo!!E orawsp(providesAEQhttp(>>docs.oasisopen.org>ns>opencsa>sca>.++2+4Ra thoriIation, Qhttp(>>docs.oasisopen.org>ns>opencsa>sca>.++2+4Ra thoriIation.!ineGrainE orawsp(stat sAEenabledE orawsp(version$reatorAEde!a ltE orawsp(version/ mberAE,E orawsp(versionTimeAE,4,2FJ.24??.6E ws (IdAEbindingNa thoriIationNden'allNpolic'E;
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4,
Ooralgp(5ogging orawsp(En!orcedAE!alseE orawsp(SilentAEtr eE orawsp(categor'AEsec rit'>loggingE orawsp(nameAE5og 3essage,E; Ooralgp(msg-log; Ooralgp(reD est;allO>oralgp(reD est; Ooralgp(response;allO>oralgp(response; Ooralgp(!a lt;allO>oralgp(!a lt; O>oralgp(msg-log; Oorawsp(bindings; Oorawsp($on!ig orawsp(nameAEadded-!rom-emE>; O>orawsp(bindings; O>oralgp(5ogging; Oorasp(binding-a thoriIation orawsp(En!orcedAEtr eE orawsp(SilentAEtr eE orawsp(categor'AEsec rit'>a thoriIationE orawsp(nameAE%.EE services # thoriIationE; Oorasp(den'#ll>; Oorawsp(bindings; Oorawsp($on!ig orawsp(con!igT'peAEdeclarativeE orawsp(nameAE# thI$on!igE>; O>orawsp(bindings; Oorawsp(g ard>; O>orasp(binding-a thoriIation; Ooralgp(5ogging orawsp(En!orcedAE!alseE orawsp(SilentAEtr eE orawsp(categor'AEsec rit'>loggingE orawsp(nameAE5og 3essage.E; Ooralgp(msg-log; Ooralgp(reD est;allO>oralgp(reD est; Ooralgp(response;allO>oralgp(response; Ooralgp(!a lt;allO>oralgp(!a lt; O>oralgp(msg-log; Oorawsp(bindings; Oorawsp($on!ig orawsp(nameAEadded-!rom-emE>;
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4.
Step $/: Go to Hello:orldPro9ectG,.+H S"# $omposite home page C e&plore S"# $omposite ---; E&port
Step 4?( $hoose both the option , C e&port with de!a lt archive
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 44
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 46
Step $0:To =nIip scaNHello:orldPro9ectNrev,.+ right clicB on !ile ---; E&tract to scaNHello:orldPro9ectNrev,.+
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4F
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 47
Step %0: 8rom manage partition window we can create , delete partition C control over composites C also on *eplo'ment . Since we alread' have a de!a lt partition named as de!a lt so i am going to create a new partition b' clicBing on CR)A6) tab.
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4?
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 4J
Step %#: To per!orm start p C sh t down action to all composites to a partic lar partition
0ight clicB on de!a lt partition ----; $omposites $ontrol ---;Sh tdown #ll
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 42
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 6+
Step %$: To per!orm start p C sh t down action to all composites to a partic lar partition
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 6,
S ccess! ll' started p all composites o! de!a lt partition www.bispsol tions.com www.bisptrainigs.com www.h'periong r .com Page 6.
Step %4: :e can also either *eplo' or ndeplo' all composites to de!a lt partition
Step %/: /ow to delete partition named #B$* , "pen manage partition window then select #B$* partition then clicB to Delete
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 64
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 66
www.bispsol tions.com
www.bisptrainigs.com
www.h'periong r .com
Page 6F