上海交通大学硕士学位论文基于SOA的敏捷供应链系统设计与实现姓名:胡巍申请学位级别:硕士专业:计算机技术指导教师:曹健;周以仁20080401ISOASOASOASOASOASCMSCMERPSOASOASCMSCMSOASOASCMSOAUMLSOASCMSOASCMSOASCMSCMSOAJ2EEVMIWebSOASCMABSTRACTIITHEDESIGNANDIMPLEMENTATIONOFAGILESCMBASEDONSOAABSTRACTEnterprisecompetitionhasfocusedonitssupplychaininmoderntimes,sothispaper'sstudytaskistobuildaSCMsystem.SCMsystemisevenimportantforforeigntradecorporation,furthermore,SOAtechnologybringaresolventforforecitedquestionandcanceleritilyrebuildthesystem.Hereby,thisproject'sresearchtargetishowtouseSOAtoestabishtheagilesupplychainsystem,anditskeystoneisdesignandimplementation.Theprojectwillfollowthesestepshereinafter.First,itdiscussesSOA'stheoryanditsimplementtechnologyandgathersSCM&ERP'stheoreticsandtheirdesign,andcomparesandanalysingSCMwithERP.Second,itputsthenewSCMsystem'ssolutionforwardaccordingtotheformerSystemleftproblems,andreestablishesSystemfunctionsandservicesbasedondeeplyanalysingenterprisebusinessprocesses.Then,itrebuildsenterprisekeybusinessprocessesbyusingSOAandshowsimplementcontentsviaUML.Andthen,itprovesSOA'svaluesinrespondingbusinessprocesschangesoneofwhichisfromtraditionalinventorymanagementtoVMI.Finally,itDecidesJ2EEimplementframeworkforSOAinSCM,andchoosesthecaseofVMIbusinessprocessasthesamplethatforeigntradingcompanyprovidesstockinformationsformaterialsuppliesbyusingwebservicetoshowtheSOAimplementcourseunderSCMsystem.KEYWORDSSOA,SCM,servicedesign,servicecollaboration,serviceorchestrationIIIAbbreviationsFullspellingChineseexplanationERPEnterpriseResourcePlanningSCMSupplyChainManagementSOAServiceOrientedArchitectureSOAPSimpleObjectAccessProtocolUDDIUniversalDescriptionDiscoveryAndIntegrationVMIVendorManagementInventoryWSDLWebServiceDescriptionLanguageWeb11.120602090MRP-IIJITERPInternet21123420082CPIERPERPERPERPERP(ServiceOrientedArchitecture,SOA)ERPERPSOAERP(SupplyChainManagementSCM)ERPERPSCMSOASOAITSOAITSOAIT3ITSOAITSOAERPSOASOASCMSOASCMSOA1.2SOAGartner19962003WebSOASOAGartnerSOAWebServiceWebServiceWSWebSOAIBMBEASAPOracleTIBCOIONASUNMicrosoftSOAITIT4SOASOAITSOAITSOAITITITSOAITITSOAIT20ITERPITITSOASOA1.3SOASCMSOAWeb-ServiceSCMSCMITSCM5SCMSOAWeb-ServiceWebWeb1)SCMWSDL2)SOA3)SOA(VMI)SOAWebServiceWebServiceSOASOAUDDIWSDLSOAPXMLHTTPSCMWSDLWSDLWebportalSOAWebServiceWebportalSCMWebportalSOAWebServiceUDDI6WebServiceVMIVMISOASCMERP1.412SOASOASOAWebService3SOAERPSCMSOA4SOASCM5SOAUML6SOAVMI7SCMSOAJ2EEVMIWebSOASCM8SOAWebService7SOAWebServiceSOASCMSOASOAWebService2.1SOASOASandyCarterSOA&Web2.0SOASOASOA[1]ITSOASOAITIT1)2)3)()4)SOASOASOAWebService8SOASOA2.1.1SOASOA[2]1)IT2)3)4)()5)6)SOASOASOASCMSOASOAWebService9[3]SOAAPISOA()SOA[4]2.1.2SOAITSOAITOpenGroupArchitectureForum(TOGAF)a)b)SOAWebService10[5]SOA1)2)3)4)5)6)SOA[6]ITITSOA[7]2.1.3[9]SOA1SOAWebService112SOA34Web5SOAPSOAP6SOAWebService127SOA8SOAITSOA2.2WebServiceSOAWebServiceCORBAJINIWebWeb[10](WebService)WebSOAPHTTPXMLWebWebWeb()(API)SOASOASOAWebService13WebWebSOASOAWebWebXMLXMLAPIXMLXMLWebWebXMLWebWebWSDLWebXMLSOAPWebWebUDDIUDDIWeb2-1WebFig.2-1TheWeb-ServicebasicarchitecturemodelWeb1)WSDLSOAWebService142)SOAP3)UDDI2-1WebSOAPWSDLUDDIWebWebSOAWSDLWebWSDLUDDI(registry)WSDLSOAP2.2.1WSDLWSDL[11]WSDLWSDL(serviceendpoint)WSDL()2-2WSDL--WSDLtypes/typesmessage/messageportTypeorinterface/portTypeor/interfacebinding/bindingservice/service2-2WSDLFig.2-2TheWSDLdefinedstructureSOAWebService15WebWeb3portTypeinterfaceWebWebWSDL32.2.2SOAPSOAP[12]SOASOAPSOAWSDLSOASOAPSOAPSOAPSOAP(envelope)2-3SOAPHeader/HeaderBodyFault/Fault/BodySOAP2-3SOAPFig.2-3TheSOAPmessagedocumentstructureSOAWebService16WSDLSOASOAPSOAP2.2.3UDDIWebWebUDDI[13]UDDIAPIWeb()Web2.3SOASOAInternetSOAWebHTTPWSDLSOAPWebHTTP/HTTPSSOAPXMLWSDLUDDIWS-SecurityXML-SignatureXML-EncryptionWebWSDLSOAPUDDI17SOASOASOA3.1SCMSCMERPSCMERP3.1.1SCMERPERP4MRPMRPMRP-IIERP[14]ERPERPGarterGroupInc.[15]3ERP3ERP[16]ERPERPMRP-II()18MRP-IIERPERPERPERP3-13-1Fig.3-1Thepictureofenterpriserunningsupply-demandchainEPRMRP-II1()ERP2ERP319InternetERPERPERPStevens[17]Evens[18]3-23-2Fig.3-2SCMstructuralmodel(/20[19]1)2)3)4)3.1.2SCMERPERP[20]PDCA2112(BOM)ERP3ERP3-3223-3ERPFig.3-3ERPallsubsystemsdatastreamrelationshippictureERPERPSCM[21]MPSMRP3-4Fig.3-4Supplychainplanoperationalmodel3-423MPSMRP()()()()()[22]243.2SOA3.3.1SOAITSOA[23]ITIT1SOA50%SOA25SOA2SOA3SOA4WebSOAWebJMSSOA5ITITSOA26SOA3.3.212345673-5Fig.3-5Agilestrategyprocess27SOASOA3-5121134567283.3ERPSCMSCMERPERPSCMSCMERPSCMERPSCMSOASCMSCMSOA29SCMSOASOASCMSOA4.1SCMSCMSCMSCM304.2SCMSCM(IPOInput-Process-Output)ERPSCMSCMSCMSCMSOASOAITSOASCM31SOASOASCM()()1.2.3.4.5.BPRDFDIPO326.4.3SCM()4.3.1334.3.2()()1)()MRPBOMBOMMRPMRPMRPMRPMRP34()()()MRP352)()364.3.3()/(/)/(/)/(/)/(/)()((/)(THC))FOB())37()((/)(/)())()()/(/)()()()4.3.4SCM()()/(/)38()()/(/)()()()/(/)39()1)()()()()2)()()()()()()()40()()(())(())()3)()()()()()()()4.3.5ERPSCM414.3.61)2)424.4SCMSOA4.4.1SOASCMSCMWeb1)()2)3)4)5)43SCMSOASCM4-1/BOMMRP4-1Fig.4-1Thechartaboutsystemmodulesstructure4.4.2SCMSOA44SCMSCMSCMESB4-2SCMFig.4-2Scmsystem’senterpriseservicebusesSCM4-21)()()MRPBOMMRP()()()()()2)(