Project Structure and File Naming Convention

This section describes the project structure and how to name a file.

  1. Move the following existing (and obsolete) project folders from the project root folder to Files/engine, overwriting the generated ones:
  2. Change versions of plans and components by right-clicking the Files folder, selecting Batch Actions, and then clicking Change Versions.
  3. After upgrading, check all plans and components for errors.
  4. Rename Files/etc/executor.xml to nme-executor.xml.
  5. Rewrite the content of events.xml into the new Event Handler & Publisher node, found in Model Project Output Interfaces (open in XML mode).

    The new configuration file nme-event_handler.gen.xml will be generated.

  6. Map the particular services and endpoint definitions from the old services.xml file to the Services node in the Model Explorer, by taking the last part of the service or endpoint class and checking or selecting it when configuring the Services node. For example:
    <service class=”com.ataccama.nme.internal.engine.
    services.handlers.GetInstanceByIdServic eBundle” />

    or

    <endpoint class=”com.ataccama.nme.internal.engine.
    services.endpoints.SoapEndpoint” pathPrefix=”/soap/*” />

    For assistance with the Services node, see the Enabling a Particular Native Service and Adding a Native Service Endpoint section in the iWay Master Data Server Developer’s Guide.

Sample services.xml Configuration

<serviceConfig>
	<services>
		<service class="com.ataccama.nme.internal.engine.services.handlers.
GetInstanceByIdServiceBundle"/>
		<service class="com.ataccama.nme.internal.engine.services.handlers.
GetMasterByIdServiceBundle" />
		<service class="com.ataccama.nme.internal.engine.services.handlers.
TraverseMasterServiceBundle" />
		<service class="com.ataccama.nme.internal.engine.services.handlers.
GenericTraverseMasterService" />
		<service class="com.ataccama.nme.internal.engine.services.handlers.
ListInstancesServiceBundle" />
		<service class="com.ataccama.nme.internal.engine.services.handlers.
ListMastersServiceBundle" />
		<service class="com.ataccama.nme.internal.engine.services.handlers.
SearchInstancesServiceBundle" />
		<service class="com.ataccama.nme.internal.engine.services.handlers.
SearchMastersServiceBundle" /> 
		<service class="com.ataccama.nme.internal.engine.services.handlers.
ProcessDeltaService" />
<!--
		<service class="com.ataccama.nme.internal.engine.services.handlers.
IdentifyMasterService" entity="party" masterLayer='master' />
-->
		<service class="com.ataccama.nme.internal.engine.services.handlers.
BatchControlServiceBundle" />
	</services>
<endpoints>
	<endpoint class="com.ataccama.nme.internal.engine.services.endpoints.
XmlRpcEndpoint" pathPrefix="/nme/*" />
	<endpoint class="com.ataccama.nme.internal.engine.services.endpoints.
SoapEndpoint" pathPrefix="/soap/*" />
</endpoints>
...
</serviceConfig>

iWay Software