University of Rennes

University of Rennes

-

English
39 Pages
Read
Download
Downloading requires you to have access to the YouScribe library
Learn all about the services we offer

Description

Niveau: Supérieur, Master
University of Rennes 1 Master 2 recherche en informatique - ISTIC/IRISA Integrating Diagnostic and Repair to Ensure the Quality of a Composition of Web Services Author: Muhammad Ali Memon Supervisors: Marie Odile Cordier Sophie Robin Laurence Rozé June 1, 2011 du m as -0 06 36 72 7, v er sio n 1 - 2 8 O ct 2 01 1

  • repair

  • gestion locale des fautes par traitement d'exceptions

  • service

  • traitement d'exceptions

  • unexpected failures

  • exception handling


Subjects

Informations

Published by
Reads 94
Language English
Document size 1 MB
Report a problem

ositionUniversityRobinofAliRennesy1ServicesMasterMarie21,recheracheWenuthor:infSupormaCordiertiqueRoz?-2011ISTIC/IRISAofInComptegratingofDiebagnoAsMuhammadtMemoniervisors:cOdileandSophieRepairLaurencetoJuneEnsuretheQualit
dumas-00636727, version 1 - 28 Oct 2011doitAbstractloinquiFunerencthersL'informatiqueondanorienquet?edi?renservic:ederepd?teosedysfonctionnemensurtraladecompex?cut?eso-insitionoserdynamiqueetdeDiagnosticwEnebtservicesvportanour?r?pr?parerondreco?stagelacodemandeviend'unnutilisa-maisteur.ourUnctionsd?jectifimpdeortanfotesconditionnanWt1unelimiteutilisationparr?ellesedestrawservicesebtservicest?es,consisteest?lasurvsourceeetillerserviceleurDansex?cutiontexte,etail??lesdistribu?erendredescapablesLaddueesr?agirson?calemendesstrat?giedysfonctionnemenassur?etscompteimpr?vus.rCecitrepservices.eutdesearcfairepentutilisanctd?taillerlesMotsm?canismeSurvsservicdeR?paration.traitemencetend'excl'ecacit?.eptions.casMaisexempleceux-cipannesnepropageanp?ermettenvtlesdear?agiranqued'?tredec-mani?rel'imppr?d?nietetde?caliserdespanneprobl?meslaloducauxtetdepr?vusled?scorresplat.conceptioncedesnservices.lePvourtandet,consist?dans?tudierdesgestionenmaisvironnemenordonn?etsm?canismesdynamiquesr?paration.telsdicult?qu'Intternet,faitleslwr?paratioebsservicestploeuvt,enqu'unetglobale?tre?tresujetsp?tenirdesdesdysfonctionnementetsaimpr?vus.enDelesplus,tslaL'obgestionestlopropcaluneehitecturedesdiagnostic-r?parationfautesermepartantraitemencettetnd'exceptionstionnalit?ned'entienltm?canismes.pasclescompteQoS,deseillanceinebteractionses,enettreservices,
dumas-00636727, version 1 - 28 Oct 2011b2sourceAbstracteectivinhanisms.EnglishebService-OrieneforeteddedicateComputingapproacisdiagnostic-repairbasedtonmadynamiciscompInositionordinatedofcarriedwtakebobservicesfeaturetinowhicmeetss.thethroughdemandandoftheaanduser.thisAamatjorisc,hallengebinaccounconditioningdierenactualtousemecofKeywwandebbserviceseenislimittonmonitorhtheiralsopserviceserformanceeingandkenableothemattothereactthetoconunexporkectedtomalfunctioning.butThisdynamiccanrepairbdiculterepairsdonelousingathemmecensuredhanismsinofinexceptionwhandling.services.ButetheyosedohitecturereactforindetailaQoS,predenedMonitoring,manner2andteractionsloecalwissuesservices,hahvtheireetoebSucefailuresplannedyatpropagatethetheservicesbdesignbtime.detected,Hotheweyevter,ndinproblemdyntheaofmicmalfunctionenrepairvironmenservice.tsthisliktext,ewtheisIndternet,studywdistributedebcoservicesandmamanagemenyofbmeceThesubyjectthattoareunexpoutectedcallymalfunctioningbutwhicglobalhhmaustyenottobeetohandledtwithteractionsrepairetmeceenhanismstdeneOurdjectivatisdpropeasignarctimeand.hanismsInthisaddition,inlo.calords:managemenWtServicesignoresDiagnosticerrorsRepair.duringthe
dumas-00636727, version 1 - 28 Oct 2011.CONTENTSdied3.Con.ten.ts.1.In.tro5duction.4.2.W.eb.Services.6.2.1.Comp7.1osition7.2of3Services......18...4.2...21...4.3.1.....I...25..............6122.2.XML......tribution.hitecture.....................Rules...T.......progress.....State.7.enarios............7.2.3ArcSO.A.P........T.................My.4.1.olo...........................Implemen....7.2.4.WSDL....2.omain.Prolog.....24.reloaded...........24.tegration...........W.the.Conclusion.endix.ault............8.2.5aserUDDI............36.3.2.3.hitecture.........................3.3.aser..................8.2.6.WS-BPEL..........4.Con.18.Mo.Diab.Arc...................19.Scenarios................8.3.Con.text.9.3.1.Diagnostic.from4.3WStation-.Diamond.Pro.ject....................3.D.Theory.with9.3.2.The.Diab.olo.Pro.ject4.3.2.aser.........................4.3.3.n.in..............10.3.2.1.Motiv24atingRelatedExample/ork/CaseofStudyart.6.28.App.28.F.Sc............10.3.2.2.F.aults.and.Symptoms....29.T.Snapshots............................11
dumas-00636727, version 1 - 28 Oct 2011the4the1andInlist:troparcel.ductioncThethisemergingthatparadigmcanofwServicenOrienWhentedvior.Computingmaconsists(b)ofresultallothewingfortheopcompeositionurofciateddistributedmaservices,etheustransienpropresenvidingthevandalue-addedonservices.enInnaninenyvironmenthettsucliteratureh[8]:asloInonternet,lwbebinserviceswarindividuallyeultipleinpvfurtherokerationsedydynamicalltempyttoareproovidecancellationB2Bnotsolacquisitionut"eggsikons.Here,WdistincteboserviceslocannecessitbordereasubdatajewithctmistaktoanunexpmaereceictedstrategiesfaiclosedluresLoforningwhicyshcomprecoasvperyerlystrategiesFwiserefaultsnotfaultsperationslactivitiesannserviceseositiondFatcomprisedesignoptime.faultNewt,requirementhattsxecutionsareypyosedinbe-yfaultthe,needwhenforcutionsdetectionemecFigurehanismstandcessesrecoresultvordereryduestrategies,reservmanagingaandorderinghandlinginsteadunexptea",ectedstoexceptions.happInwgeneral,eitwisthatdiculttandservicescostlythetosymptom,planeallofpgloballyossiblerepairrecoadequatev.eryofstrategieserror,atindesignafter-salestime.tMoreobutvcase,er,wthismissingkindprevofcustomerloancalbasicfaultosedmanagemenestablishingttroldoonesonotAnalysis,spanExecution.acrosswindividualrealizeservicesareand4thdetectedussolimitsastheossibleeectivpropenesshandofed.recoailveerycausedstrategies.yThaeddicultoriginatecaseopsassoarewiththose,inwhereebainfaultomppropagatesorthrough.servicesaultswithoutybmeingfailingdetected.erations.TheafaultiscannotermanenbweassumehandledallineaofcorrectfaultwopamayrwithoutsultlofaultcatingbthehaprimaryAcauseisandoraryidenortifyingt,thesubsequenfaultexeyofservices.opItrationbcorrect.ecomes1evidentstwinprothethatsystemyinintermsofofonashopfailuretothatsatisfyingmaationy(a)arisedatafromerror,dieren"eggs"t"teak"errorofstatesandandandmaaycberroreeningcausedthebarehouse.ywdierennoticettfaultsoinerrorssystemhappcompononenwts.distinctFcanorininstance,sameletcalusheconsidercanthee-commerceycdiagnosingonsystemtext,insupptooseitaanclienwtyordersInacaseprotheductacquisitionviaonlanane-shop.teractionIfthetheserviceshopcorrectservicehehase,anininsecondexactaskingproalternateductarehousecothedeiteminyitsendatabase,thethefromprovingcessincompletegoTheescommononpropthroughintheispartneraservicesconulonbasedtilMAPEtheop/mproblemdelisMonitoring,detected.Plan-TandoTmakoeaapplicationtomoreMAPEexible,opsfaultsglobalmosersustb
dumas-00636727, version 1 - 28 Oct 2011i5tFigurethis1:osea)wDatatainsacequisitionoloerrexibleordalitb)andSto.ckrerkr,orDiab[10]makandoflocallycalglobaladapters.theInycasehelpsoftoantoymomisbwhileehaofviorhedoftahasservice;isan5approacactivithsolbasedloonactivitglobalbcomponlyoserscompsubstitutesisahfaultyyhestration.serviceorcwiththemselvthealsocorrectinformationoneactivitandroadmapbstatus.ylore-compofosition.lWhiletoinisancanapproacexecutionhermitsbasedeonalopropcalofadapters,lloeacinhdal-serviceeachasvtheaptabiliteyadaptationto.adapter,itselfcaninlectaexecutionlobcalvingwofaFya.hedGlobalrequestcompshareosersaccessiblegehttheglobalroadmapconsistencyabbutandaretousuallylocomputationallyctivitiesexpwensivdifye.relevLothatcalinadapterstainaredatedcquest'sheapMANAerofandwilleciencttheinmotakingADloitcalThedewcisions,tobutwadaptationsethatalternativaredalities.lotimecallytoacquiredprototmatheyhnotstudymainbtainbaTheglobalrepview.asSolvingSecadaptation2loducescallmoyitiesmighethnotyberyenetandintothevattemptpartofthebuildingproblemacallyglobalHoandevconsistenantyadapta-lotionseforthetheestapplication.moAnyhyybridhaapproacahviewhasthebosition.eenorpropreasonosedroadmapbattacytoMuser'sarwhiciisedOdileeasilyCordier,bSophieeacRobinactivitandwithinRoborcertoThisMicalconizioinformationnamedout"Diabhestrationolhenceo",activitieswhicadapthesestablishescallytradeAoareballoetedwmoeensomehighonlyexibilitanytoofparticularloycaorderlmainadaptersthisandupconsistencyforofeglobalexecutioncompAoseGERrsdule.thisDiabopolobdon'tinallohargew(re)initializingtoroadmap,canotherhangedutheeinitialAPTERcompeepsosition;upbutdate.empgoalothisworkerrstlyeacprophhoac-activitiestivitbyenricwithwiththeeabilitmoySecondlyofifselectingptherealizingbimplemenestawypaofyDiabtoapproacgewithtcaseitsthatloalreadycaleengoalosedamongytheolo.nrestumtheborterorganizedoffoalternativws.etoptions/moondalities;brieythesetroalternativeexecution
dumas-00636727, version 1 - 28 Oct 2011The6cation-compwinebindepsearbasicviancesWandebitsmtermienologies.servicesSectione3SOpresenUDDItsathestrialconittextexcofviorthiscommwdescriborkXMLtheypwwork.,Secexctcateiforonn4Servicesdetailsenmcompyebconintributionofduringythisthatinexcternship.ofSection[13].5enisanddedicatedI(sectiontoprelatedHTTPapproacthaneconnectingsbandelementheirDI.comparisoncolwithvthetoapproacandh.isSectiondescribing6serviceconcludesarand2.1givwestialpteerspapproacecebtivthees.Indus-Sectionce7proisourdedicatedeneddteractionstovidinganprotoappwendixvisibleforbdetaieaclingpart-scenariosolvandebGUIusingsnapshots.cols2AP(sectionWbebusingService.5).sebFatformor2.2)manWyvyoearsofsciereusablentstistsingareWtryinghatobasicdevSOelopandframewAPorksbasedandletarcinformationhitec-HTTPturesisthatucaninmakalsoet.aXML-basedvcatingaieblableaapplicompaniescationsandforhuseservices.noositionmatterositionwhicserviceshplan-businessguage/toapplicationols/platformsiwwereusedusedoftoIdevhelopticthh.etreatsm.rvService-OrienatedtoArcandhi-WSDL.tectureyp(SOunicationA)vand6wbebproservicesmessagehahangevcols,eshobtheecomeutuallyquitemessagephangeopularehaiofnhthistheregard.nersWhenvalled"theWplatformsserviceshaunicatevopeprotoaccessliktoSOthe2.3)wcanebeusingedinUDDternet2wTheebwbroserviceswsers,ldierenist(sectionplatformspluscould.inebteracthawitheeacwhtother.esFadvortages;thisapplipurponenose,andplat-exist-formssofttoare.weorkservicestogether,vwthreeebplatformservices/applicationstsareAPdevWSDLelopUDed.SO"WisebXMLser-protovicestoareapplicationsdenedhangeasoselfer-con.tained,APmodesigneddularcommunitsniofviaappliternetcationislogicplatform/languagewhicendenhWSDLproanvidelanguagebusinesslofunctionaliandtWyservices.toisotherdirectoryapplicationswherevicaaregisteranseIncternetforconnec-ebtion.[2]WCompebofservicesCompsuppofortebthehasinhighteractionotenoinfandbusinessterprisepartnersinandgrattheiron.pro-tcessesobhesyforproositionvidingwaservices:statelessndumoapproacdelandofSemanatomicwsyncapproachronousTheortryasyncwhronoussemessageiex-cashanges.standardizedTheseterfaceatomicbusinessmessagecessesexcexpresshangesincanFbteescompcommosedareinintoolvinglongerser-businessin
dumas-00636727, version 1 - 28 Oct 2011ternet2.2wXMLsimpli7bvice'seopXHTML,WSDL,eration:willone-wAaandyea,donotication,Itrequest-respRonsecommandandsolicit-respbonse.[1].HoinwareeveerourSeternetmanOticinwtebproblem;approactrac.hbtreatsSOwanebprotoserviceHTTPassystemsanonadditionalXMLpieceormatoftiThisnformationdata(semandierentichanges.annotations).andSemanAticfromannotationsWML,are.assertionstandnitheirappli-propcedureertieysproarekexpressedwinvResourceisDescriptionwsersLanguagecreated(RDF).vWSDLAPproisvidesexcaapplicationsfunction-cencommtricdierendescriptiontecofconcenwyebyservicisestextcoitveesoftringhardwinputs,esoutputs,toandcanexceptionbhandling.applications.TheplatformSemanhelpsticwnWoebtproofvidesarealikproAPcessRDFlevandeSOlimpdescriptionalloofcommthebservice,programswhiledevIndustryremoteuses(RPC).BPEL4WSraisesapproacsecurithallsforservtheblocompkindositionbofywiseHTTPbcauseservicesppropallosedservbwyreplace(IBMunicateandHTTPMICRhindrance.OSOFT).ObSemanPrototicXMLapproacusedhingtranslateswDvAML-L/RDFSOnotationsviainrunsProlog.opBothdierencandomp7ositionstrateallolawoutthedisplacustomization.ofdatathestoredplanplainexecutionfatmakingrunindeptimendi.e.,ntofromselectwaandparticularare.brancmakhitofsierexecutioncreateorthattoblosharedopyunttilItanesexitcconditionItisdenesatised.oAuthorstagsinour[13]wnconcludescumenthatstructure.nonelotofinthelanguagesapproaccreatedhXMLeesWhasanddevRSS,elopandedWL,aSMILtrue2.3planningAPsolutionistoortanthetoservicewcompternetositionuproblemcationsoetfar.een2.2forXMLcationXMLelopmenstandsthroughforproextensiblecallsMarkupButLanguage.PCItcompatibilitwandasydesignedrewtoandtranspxyortersandnormallystorecdata[1]this.ofXMLAisetteraamarkuptolanguageunicatelikoeerHTML.,Ite-isHTTPnosupwortedbye-broingandwidelyers.usedAPasasthetomostRPCcommocommnotoerolwithoutforydataSOtransmission(Simplebjectetccesswcol)eenanallbasedsortscolofforapplihang-cationsmessagesoetveeneroinerternet..ItAPhelpsunicatestoin-kandeeponthetimperatingortanwithttdatahnologiessep-languagearate,thishelps
dumas-00636727, version 1 - 28 Oct 2011to2.4tWSDLto8AP2.4basedWSDLternalWebeblServiceItscessDenecessaryscriptionpartnersLanguagepro(WbSDLthe)[3].isisandeneXMLprobasedteractilanguagewforbdescribingandwtheirebeserviceessstractandwhoinwcesstotegratedaccessofthem.businessWSDLStandardisdelacessdobcumenpartners.tmthatnersspaeciesstatetheordination.loprivcationtheofoth.servicestoandmakingopanother.eratorsoth(orxecutablemethoehads),inthta-BPELtsucthecomservicdescrieandexpWSDL,oses.bIfproainclienebtppwishesWS-BPELtoOuseaprilanesopgrammarerationnessonehaainwwebandservice,WS-BPELhehocanservicereadwithWSDLcodescriptionhievofgoal,opaserationstheoeredthisbcanypublictheorserviceectsandprotheortsdescriptionprotectsoftheXMLealScternalhemadatadataotcanypforesandusedwherebcessyactualtheseofopinerations.and2.5cessUDDIobservUDDIviors.(UniveragesersalservicesDescriptionasDiscoWSDLvunicationerydescription.andiInbtegration)oundisterfacesaneXMLthembasedeasilyregistrytoonorthe8interactionternetwtoservicesregistersuandortlotransactions.cate2.0wanebASISservices.sinceBusinesses2007.wdescriborld-mowide,andintoorderbusi-toprolistbthemviorononinteractionsternet,etreeengistercesstheiritsservicesTheinprothisdenesregistrywinultipleorderintoonsbpart-eareloordinatedcatedacbeybusinessotherasservices.ellUDtheDIandislogicdesignedfortocobWS-BPELeseparateinothterrogatedandbateyinSOaspAPofmessagesbusinessandcessprosuppvidebsThisaccessbusinesstofromWSDLneeddescribingrevtheallprotoincoldecisionbind-andingsmanagemenandtmessageoneformatsWS-BEPLrequiredbtousedinbteractexecutablewithabstractthecesses,weebproservicesdescriblistedtheinbitsviordirectoryw.services2.6businessWS-BPELteractionsTheab-WproebrepresenServicespubliclyBusinessableProehacessWSExecutionlevLanguageother(WS-BPEL)ebpro-standardsvideshaSOlanguageandforfordescribingmbusinessandproterfaceceByssesbandngbusinessincommoundunicaoutb-protioninprotoincolBPELs.nabWS-BPELeswtoasedesiginnineotherd,cessesaimingapplicationstoextendthe
dumas-00636727, version 1 - 28 Oct 2011recognition9the3jectConevtextwhoseInProthisself-section,distinctIwshallthetryundertoEmergingbuildwillaoffoofcusedinview[6].of9]wtorketargeteddiagnosticforsummarizingthisEUin2008.ternship.orkTheagnosetitlefromofinputthisasintoternshiptisadopted"InintegrationndedofregardDiagnosticMatracandedRe-jectpairandtoDiagnosticensureItheyQoSDiamondfor[10,compfundedositioFETns)ofctwtebwservices".toHoawfromevtaskerfaults,Diagnosticconmoumanduleor[10,propagate9,er,7]thassealreadyablebiseenurrdevcomplelopisedecicbdistributedyplatformsDREAMbduringwthemos(WS-orDiamond)oloprotjearcct(pIreaser.senWS-Diamondtedthisintsectionaccomplished3.Dream1).WSThisjeinpapternship7].iswbasedyonundertutureweco2005parts.proFirstedtoebuildaanseladapservices,teerandmocausesduleandandvsecondfailuresisfailures.toconcernsincorpsemanoratefaultsthatoradapterts,mondulesucwithintthehandling.Diabtime,oloonearcMoreohitecturewtothconstructencompleteoselfcanhealingsameframewApproacorkdiagnosingforcwh,ebnapplicationsfor(inindustrialtegrationapproacofxtarcthehitecturetextdepservicesendsInonwiandnvternshipdesignedtimededicatedconstrainser-t).horeographTisoWS-CDL.ac9hievDiabeprothiswigoalhapremierpreliminaryhitecturetheoreticalthen,studydescribhasTalready3.1conductedfromdoneProbInysection,MariepresenOdiletheCordiertaskandbSophietheRobinteaminthec-ollabproorationctwithfourRoberserto9,MicaliziWS-DiamondojectfromasUnivbersittheycommissionoftheT(ForinoandnamedTDi-hnologieabfromolo.toItThisincludesjeanaiminitialatrepresendevtationlopmenofofaselfframewhealingforarcf-healinghitectureebandthatabmotivableatingself-monitorexample.self-diAthewofebfailure,servicetosimrecoulatingertofunctionalolandhasnon-functionalalsoDiagnosticbmainlyeendiagnosisdevdataelopticedi.e.bonydata,DREAMdatabaseteamtencalledorTeaserhexplainedfaultsinhsectionbad3.3.ypingInitiallywrongTMostaserthewfaultsasfromnotserviceincludedanother.withinvthistwoorkfaultsbutawhappasonconsideredwlater,distinctwhenrvicesourresultarcthehitectureobservwsymptoms.ashbforeingfaultsimplemenated.hronicleWapproacecthenedecidedtlytousemomonitoringdexisystemsfyThisThaseretoesimtoulatespourconarcofhitecture.ebInforthissystems.secthisttioon,Matrac[10]rstCarde-Crs[10,Ihastartebeeny.brieyisintotroebducingvices,thecdiagnos-yticdelmodescribduleinandFthen,Carde-Crs,Ipresen
dumas-00636727, version 1 - 28 Oct 2011