Installation Guide for Oracle Self-Service E-Billing > Migrating to Oracle Self-Service E-Billing Version 6.2 from Other Products > Roadmap for Migrating Oracle eStatement Manager Version 4.7 to Oracle Self-Service E-Billing Version 6.2 >

Configuring the Media Retrieval Functionality


As part of integrating flat-file functionality, you must configure the following media retrieval configuration files:

  • mediaretrieval.xma.xml
  • mediaretrieval.config.xma.xml

This task is a step in Roadmap for Migrating Oracle eStatement Manager Version 4.7 to Oracle Self-Service E-Billing Version 6.2.

Configuring the mediaretrieval.xma.xml File

Follow these steps to modify the necessary JNDI parameters in the mediaretrieval.xma.xml configuration file.

To modify the mediaretrieval.xma.xml configuration file

  1. Open the mediaretrieval.xma.xml file, located in the following directory:
    • UNIX. EDX_HOME/xma/config/modules/statement
    • Windows. EDX_HOME\xma\config\modules\statement

      In the path, EDX_HOME is the Oracle Self-Service E-Billing installation path.

  2. Replace the following JNDI properties under the bean id="mediaRetrievalJndiB2C" section for the B2C edition or bean id="mediaRetrievalJndiB2B" for the B2B edition with the value appropriate for your installation.
    Property
    Value

    java.naming.factory.initial

    Class name of the initial context factory to use: weblogic.jndi.WLInitialContextFactory

    java.naming.provider.url

    Location of the registry when the registry is being used as the initial context. The format is protocol:// yourAppServerIP:Port. For Oracle WebLogic, the protocol must be t3. The port is your application server's port.

    java.naming.security.principal

    Identity of the principal user for the authentication scheme; must be the user name defined in the application server.

    java.naming.security.credentials

    Principal's credentials for the authentication scheme; must be the user's password defined by java.naming.security.principal.

    For example:

    <bean id="mediaRetrievalJndiB2C" class="org.springframework.jndi.JndiTemplate">

    <property name="environment">

    <props>

    <prop key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop>

    <prop key="java.naming.provider.url">t3://yourserverIP:Port</prop>

    <prop key="java.naming.security.principal">weblogic</prop>

    <prop key="java.naming.security.credentials">weblogic</prop>

    </props>

    </property>

    </bean>

Configuring the mediaretrieval.config.xma.xml File

Follow these steps to configure the mediaretrieval.config.xma.xml configuration file with the name of the DDN defined in Oracle eStatement Manager as well as the report name. The MediaRetrieval service in Oracle Self-Service E-Billing reads this configuration to request a particular report for the specified DDN.

To modify the mediaretrieval.config.xma.xml configuration file

  1. Open the mediaretrieval.config.xma.xml file, located in the following directory:
    • UNIX. EDX_HOME/xma/config/modules/statement
    • Windows. EDX_HOME\xma\config\modules\statement
  2. Modify the following properties:
    • reportIdMap. Sets the view names published in Oracle eStatement Manager Command Center. The key is the reportId defined in Oracle Self-Service E-Billing application. This reportId passes to the ImediaRetrieverService class to get the statement view.
    • billerIdMap. Defines the name of the DDN created in the Oracle eStatement Manager Command Center. Set the key according to the record 0000, BILLING SYSTEM field in the ETL billing file. For example, if the record in the billing file is defined as follows, then you must set the billerIdMap key as:

    BS1"0000|B2B |BS1 |,

    For example:

    <bean id="mediaRetrievalConfiguration" scope="singleton" class="com.edocs.common.statement.mediaretrieval.MediaRetrievalConfig">

    <property name="reportIdMap">

    <map>

    <entry key="StatementSummary" value="HtmlDetail" />

    <entry key="ServiceSummary" value="SASummary" />

    <entry key="ServiceDetail" value="SADetail"/>

    </map>

    </property>

    <property name="billerIdMap">

    <map>

    <entry key="BS2" value="IndexerDDN" />

    </map>

    </property>

    </bean>

Installation Guide for Oracle Self-Service E-Billing Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.