Skip to Content

The MDM Enrichment Controller makes use of 3rd party or custom developed adapters to integrate information from external services into an MDM master data repository. Through the administrative user interface of the controller, it is possible to test such adapters and their connectivity to the external service. This offers the advantage to

    • Test the adapter during development including and its communication with the controller and the external service without the actual need of having the complete MDM stack installed on the developer’s workplace

    • Manually test the availability of the external service in production without touching live data in the MDM repository

Besides this test environment, SAP additionally delivers a simulation environment that consists of

0.1. An MDM repository containing example workflows and prepared configuration settings

0.2. Sample adapters for testing and education

0.3. Source code of the adapter implementations

0.4. XML documents and schemas

0.5. MDM import and syndication maps

You can use the simulation environment to study the complete request and response cycle form end to end, including the call to a Web service. Since the source code of the adapters is also included, you can use it for education or as a starting point for your own adapter development.

The remainder of this blog briefly explains how to setup the simulation environment and use the test environment with the contained adapters. It is assumed, that you already have deployed the MDM Enrichment Controller on the application server.

The complete procedure is described in the documentation on the SAP Help Portal at http://help.sap.com/saphelp_mdm550/helpdata/en/index.htm  (http://help.sap.com/saphelp_mdm550/helpdata/en/index.htm

-> MDM Enrichment Architecture 

-> Configuring the MDM Enrichment Architecture

-> Setting up an Enrichment Simulation Environment.

Since the sample adapters and the respective Web service are deployed together with the MDM Enrichment Controller, there are basically only two things to do in order to use them in the test environment:

0.1. Using the J2EE Visual Administrator, configure the Web service destination to point to the server where the MDM test Web service was deployed. This is typically the local server or “localhost”.

<MDM_EnrichmentControllerConfiguration xmlns:xsi=”

http://www.w3.org/2001/XMLSchema-instance

” xsi:noNamespaceSchemaLocation=”MDM_EnrichmentControllerConfiguration.xsd”>        <EnrichmentAdapter vendorName=”sap.com” applicationName=”tcmdmenrichmentsimulatoradapter” ejbName=”SimulatorAdapterBean” timeOut_sec=”900″/>     <EnrichmentAdapter vendorName=”sap.com” applicationName=”tcmdmenrichmentsimulatoradapter” ejbName=”SimulatorAdapterBean” timeOut_sec=”900″/>Now you are ready to access the test environment via the admin UI of the MDM Enrichment Controller. See my other blog  () on the MDM Enrichment Controller Admin UI on how to open this.

!https://weblogs.sdn.sap.com/weblogs/images/7948/ec2-image003.gif|height=245|alt=MDM Enrichment Controller Admin UI|width=453|src=https://weblogs.sdn.sap.com/weblogs/images/7948/ec2-image003.gif|border=0!</body>

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member
    Hi,

    That was a very useful blog! I’m trying to configure an adapter that was working with SP04.
    I observe a peculiar behaviour while using this “Test Enrichment Provider System”. When i test it by entering the adapter name, its corresponding service port and a sample outbound file, I get the following error:

    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:”http://10.237.5.180:15871/cgi-bin/authenticate.cgi?ws-session=3869294932

    Now comes the surprise, this error does not happen always, at times i could very well see the download file link and the appropriate inbound file!!
    I have configured the settings as per the help link and your blog. What is it that i’m missing?

    For your information, in 0the monitoring systems tab, I see a green falg except for the 
    Monitoring->MDM Enrichment Controller->Controller->Adapters->Adapter Bean Name->Services->Port Name

    In the right pane there is an error message stating Availability Value->No

    Has this got anything to do with the error?

    I’m on SP05 Patch 2.

    Thanks
    Swarna

    (0) 
    1. Andreas Seifried Post author
      Hi Swarna,

      since SP05 there are two additional methods in the adapter interface. They are used for monitoring and provide the availability information you mention above. I assume that you did not yet implement these two methods as you developed your adapter with SP04.

      The “unauthorized” error that you get, comes certainly form the web serve that you are calling and not from the enrichment controller.

      Kind regards,
      Andreas

      (0) 

Leave a Reply