Example: Step 4 – Defining the business proxy service
The next step is to create a blueprint service definition file where the specific business proxy service will be defined.
The following is the service definition template for business proxies:
<service id="BusinessProxy.updatePartyAddressCompositeSample
" interface="com.ibm.mdm.common.servicefactory.api.BusinessProxyFactory">
<service-properties>
<entry key="transaction.name" value="updatePartyAddressCompositeSample" />
</service-properties>
<bean class="com.ibm.mdm.common.servicefactory.BusinessProxyFactoryImpl" >
<argument type="java.lang.Class" value="com.dwl.tcrm.samples.compositeTxn.DWLSampleUpdatePartyAddressCompositeTxnBP" />
<argument ref="blueprintBundle"/>
</bean>
</service>
The service definition will register the DWLSampleUpdatePartyAddressCompositeTxnBP service implementation class with the updatePartyAddressCompositeSample transaction name.