Member services: 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_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_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_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_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_All</value>
</param>
</expression-builder> 
</_config:get-data-config> 


Related Reference


Member services