Member services: get-data-config.xml file

XML Schema Documentation: get-data-config.xml file

The member get-data-config.xml file is used by JSP writers to facilitate calling the GetPerson and GetOrganization services. It is stored in the following location:

/../Stores/WebContent/WEB-INF/config/com.ibm.commerce.member/get-data-config.xml This is the default contents of the file:


<?xml version="1.0" encoding="UTF-8"?>
<_config:get-data-config 
xmlns:_config="http://www.ibm.com/xmlns/prod/commerce/foundation/config" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/foundation/config ../../xsd/get-data-config.xsd ">

<data-type>
<name>Person</name>
<type>com.ibm.commerce.member.facade.datatypes.PersonType</type>
</data-type>
<client-facade>
<data-type-name>Person</data-type-name>
<class>com.ibm.commerce.member.facade.client.MemberFacadeClient</class>
<method>getPerson</method>
</client-facade>
<expression-builder>
<name>findCurrentPerson</name>
<data-type-name>Person</data-type-name>
<expression-template>{self=true;_wcf.ap=$accessProfile$}/Person</expression-template>
<param>
<name>accessProfile</name>
<value>IBM_Admin_All</value>
</param>
</expression-builder> 
<expression-builder>
<name>findByUniqueID</name>
<data-type-name>Person</data-type-name>
<expression-template>{_wcf.ap=$accessProfile$}/Person[PersonIdentifier[(UniqueID='$personId$')]]</expression-template>
<param>
<name>accessProfile</name>
<value>IBM_Admin_All</value>
</param>
</expression-builder> 
<expression-builder>
<name>findByDistinguishedName</name>
<data-type-name>Person</data-type-name>
<expression-template>{_wcf.ap=$accessProfile$}/Person[PersonIdentifier[(DistinguishedName='$distinguishedName$')]]</expression-template>
<param>
<name>accessProfile</name>
<value>IBM_Admin_All</value>
</param>
</expression-builder> 

<data-type>
<name>Organization</name>
<type>com.ibm.commerce.member.facade.datatypes.OrganizationType</type>
</data-type>
<client-facade>
<data-type-name>Organization</data-type-name>
<class>com.ibm.commerce.member.facade.client.MemberFacadeClient</class>
<method>getOrganization</method>
</client-facade>
<expression-builder>
<name>findByUniqueID</name>
<data-type-name>Organization</data-type-name>
<expression-template>{_wcf.ap=$accessProfile$}/Organization[OrganizationIdentifier[(UniqueID='$organizationId$')]]</expression-template>
<param>
<name>accessProfile</name>
<value>IBM_Admin_All</value>
</param>
</expression-builder> 
<expression-builder>
<name>findByDistinguishedName</name>
<data-type-name>Organization</data-type-name>
<expression-template>{_wcf.ap=$accessProfile$}/Organization[OrganizationIdentifier[(DistinguishedName='$distinguishedName$')]]</expression-template>
<param>
<name>accessProfile</name>
<value>IBM_Admin_All</value>
</param>
</expression-builder> 
</_config:get-data-config> 
Note: IBM_Admin_ prefixes all services intended to be used by admin/CMC based services calls. Access profiles which do not follow the new naming conventions continue to function correctly, as compatibility is maintained with earlier versions. It is recommended, however, that they are followed for existing access profiles, and when making changes to future access profiles.