【文章內(nèi)容簡介】
apping在一個 Operation Mapping中可以包含多個 Message Mapping,這些 MM可以按順序執(zhí)行。同 Message Mapping, MultiMapping可以在 Operation Mapping中使用。 . 1:N, 對于 N:1 和 N:M mapping,在 ,可以通過使用 ccBPM實現(xiàn),在 中可以通過 BPMN實現(xiàn)。對于同步接口,需要提供 Request和 Response兩個方向的 Message Mapping。同 Message Mapping,在 Operation Mapping中可以進行相應(yīng)的測試。不同的是Message Mapping中只能進行單一的 Mapping測試,而 Operation Mapping中,可以一次測試其中包含的所有 Message Mapping。因此,在我們執(zhí)行整個接口測試之前,最好先在此進行 Operation Mapping的測試。23169。 2023 SAP AG. All rights reserved. 2424Mapping objects: imported archivesImported Archives包含了導(dǎo)入的外部定義的程序:n XSLT stylesheetsn Java mappingsn Java extensions to XSLT mappingsn Java classes to be imported in a userdefined function for message mapping所有導(dǎo)入的文件必須進行壓縮 (ZIP or JAR format),并從個人本地機器導(dǎo)入。ESR可以 Imported Objects的維護中心n XSLT 和 text 文件可以直接在 ESR中進行編輯。n Java CLASS 必須在本地編輯,然后重新編譯,然后重新導(dǎo)入到 ESR中。169。 2023 SAP AG. All rights reserved. 2525目錄PI接口實現(xiàn)的兩個階段Enterprise Services Repositoryn Overview and Conceptsn Interface Objectsn Mapping Objects n Miscellaneous樣例 : Enterprise Services BuilderMessage Design 步驟Scenario R2D: Step by StepScenario D2R: Step by StepQ A169。 2023 SAP AG. All rights reserved. 2626Import / export functionsObjects in the Enterprise Services Repository are based on open standardsThe import function for WSDL, XSD and DTD files enables you to upload message definitions from external sources.After conversion to WSDL they can be used to define message mappings and message interfaces.The object type External Definition is a container which is used to make external message definitions available in the Enterprise Services Repository.Enterprise Services RepositoryBusiness ProcessesMappingsInterfacesSAP SystemIDocs, RFCsXSLTJavaWSDLXSDDTDBPELWSDLXSDBPEL169。 2023 SAP AG. All rights reserved. 2727Import of RFC / IDoc interfacesImport of RFC / IDoc metadata from existing SAP systemnBased on connection parameters specified in the SW ComponentRFC and IDoc metadata cannot be modified within XINamespaces are preset: urn:sap:document:sap:idoc:messages urn:sap:document:sap:rfc:functionsXSD and WSDL representation available for exportProcedure: rightclick on ‘imported objects’ and follow the wizard169。 2023 SAP AG. All rights reserved. 2828目錄PI接口實現(xiàn)的兩個階段Enterprise Services Repositoryn Overview and Conceptsn Interface Objectsn Mapping Objects n Miscellaneous樣例 : Enterprise Services BuilderMessage Design 步驟Scenario R2D: Step by StepScenario D2R: Step by StepQ A169。 2023 SAP AG. All rights reserved. 2929Enter Enterprise Services Builder (ESB)PI DEV website: Click the Enterprise Services Builder169。 2023 SAP AG. All rights reserved. 3030ESB OverviewMenu bar Tool barObjects list Object editor 169。 2023 SAP AG. All rights reserved. 3131Create New ObjectsTwo ways to create Objects:? On menu bar, ObjectNew ? Right click when you click some Objects. In this way, the create wizard will be specific object you selected.169。 2023 SAP AG. All rights reserved. 3232目錄PI接口實現(xiàn)的兩個階段Enterprise Services Repositoryn Overview and Conceptsn Interface Objectsn Mapping Objects n Miscellaneous樣例 : Enterprise Services BuilderMessage Design 步驟Scenario R2D: Step by StepScenario D2R: Step by StepQ A169。 2023 SAP AG. All rights reserved. 3333General scenario on AcBelSAP PISAP ECC 6Data CenterRequest = OutputResponse = InputRequest = InputResponse = OutputOutbound Interface Inbound InterfaceMappingJDBC AdapterRFC Adapter? Operation Mapping? Message Mapping