Sunday, October 23, 2011

ABCSGenerator service configuration file and deployment merge

AIA ABCSGenerator tool generates configuration file with name <projectname>_Config.xml, In specific to AIA Deployment requirement we need to rename this file as 'AIAServiceConfigurationProperties.xml'. Only if we rename the file this property will be merged in AIAConfigurationProperties.xml during deployment.

In addition to renaming the file, we need to put the content of the AIAServiceConfigurationProperties.xml(ServiceConfiguration) inside AIAServiceConfiguration element as shown below.

<?xml version="1.0" encoding="UTF-8"?>
<AIAServiceConfiguration xmlns="http://xmlns.oracle.com/aia/core/config/V1" version="1.0">
<!-- MyCustomProvABCSImpl -->
<ServiceConfiguration serviceName="{http://xmlns.oracle.com/ABCSImpl/Myindustry/Industry/Comms/MyCustomProvABCSImpl/V1}MyCustomProvABCSImpl">
<Property name="Default.SystemID">Myindustry_01</Property>
<Property name="Routing.CreateCustomer.RouteToCAVS">false</Property>
<Property name="Routing.CreateCustomer.CAVS.EndpointURI">http://<HOSTNAME>:7777/AIAValidationSystemServlet/syncresponsesimulator?simid=1000</Property>
<Property name="Routing.CreateCustomer.Myindustry_01.EndpointURI"><HOSTNAME>:7777/workflow/customer/CreateCustomer.do</Property> <Property name="Routing.CreateCustomer.MessageProcessingInstruction.EnvironmentCode">CAVS</Property> </ServiceConfiguration>
</AIAServiceConfiguration>

Bolded element need to be created and existing ServiceConfiguration and its child element need to be copied inside AIAServiceConfiguration element. Execution of build script after this change, will make the MyCustomProvABCSImpl service configuration entry in 'AIAServiceConfigurationProperties.xml'.

No comments:

Post a Comment