Configuration Reference Manual

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Profile Service Provider Configuration Reference (profile.xml)

The following sections provide a complete reference to the profile provider configuration file, profile.xml:

 


Overview of profile.xml

The profile.xml file configures attributes of a profile service provider, such as:

profile.xml is stored in the DOMAIN_DIR/config/custom subdirectory where DOMAIN_DIR is the root directory of the Oracle Communications Converged Application Server domain.

 


Graphical Representation

Figure 4-1 shows the element hierarchy of the profile.xml file.

Figure 4-1 Element Hierarchy of profile.xml

Element Hierarchy of profile.xml

 


Editing profile.xml

Oracle recommends using the Administration Console profile service extension to modify profile.xml indirectly, rather than editing the file by hand. Using the Administration Console ensures that the profile.xml document always contains valid XML. See Configuring Profile Providers Using the Administration Console in Developing Applications with Oracle Communications Converged Application Server.

You may need to manually view or edit profile.xml to troubleshoot problem configurations, repair corrupted files, or to roll out custom profile provider configurations to a large number of machines when installing or upgrading Oracle Communications Converged Application Server. When you manually edit profile.xml, you must reboot servers to apply your changes.

Steps for Editing profile.xml

If you need to modify profile.xml on a production system, follow these steps:

  1. Use a text editor to open the DOMAIN_DIR/config/custom/profile.xml file, where DOMAIN_DIR is the root directory of the Oracle Communications Converged Application Server domain.
  2. Modify the profile.xml file as necessary. See XML Element Description for a full description of the XML elements.
  3. Save your changes and exit the text editor.
  4. Reboot or start servers to have your changes take effect:
  5. Test the updated system to validate the configuration.

 


XML Schema

The full schema for the profile.xml file is bundled within the profile-service-descriptor-binding.jar library, installed in the WLSS_HOME/server/lib/wlss directory.

 


Example profile.xml File

See Developing Custom Profile Providers in Developing SIP Applications for sample listings of profile.xml configuration files.

 


XML Element Description

The following sections describe each XML element in profile.xml.

profile-service

The top level profile-service element contains the entire profile service configuration.

mapping

Specifies how requests for profile data are mapped to profile provider implementations.

map-by

Specifies the technique used for mapping documents to providers:

map-by-prefix

Specifies the prefix used to map documents to profile providers when mapping by prefix.

map-by-router

Specifies the router class (implementing com.bea.wcp.profile.ProfileRouter) used to map documents to profile providers with router-based mapping.

provider

Configures the profile provider implementation and startup options.

name

Specifies a name for the provider configuration. The name element is also used for mapping documents to the provider if you specify the provider-name mapping technique.

provider-class

Specifies the profile provider class (implementing com.bea.wcp.profile.ProfileServiceSpi).

param

Uses the name and value elements to specify optional parameters to the provider implementation.


  Back to Top       Previous  Next