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

Configuring the Media Retrieval Functionality


You must modify the following Oracle Self-Service E-Billing configuration files as part of integrating flat-file functionality:

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

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

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

To modify the mediaretrieval.xma.xml configuration file

  1. In the EDX_HOME/xma/config/modules/statement directory (or the EDX_HOME\xma\config\modules\statement directory on Windows), open the mediaretrieval.xma.xml file. 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:

    • Oracle WebLogic. weblogic.jndi.WLInitialContextFactory
    • IBM WebSphere. com.ibm.websphere.naming.WsnInitialContextFactory

    java.naming.provider.url

    Location of the registry when the registry is being used as the initial context. Its format is protocol:// yourAppServerIP:Port.

    • Oracle WebLogic. The protocol must be t3; the port is your application server's port.
    • IBM WebSphere. The protocol is iiop; the port is your application server's bootstrap 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>

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. In the EDX_HOME/xma/config/modules/statement directory (or the EDX_HOME\xma\config\modules\statement directory on Windows), open the mediaretrieval.config.xma.xml file.
  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 "0000|B2B |BS1 |, then, you must set the billerIdMap key as 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 © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.