Introduction to Custom Services
Custom services are user-defined services that help to extend the Creo Elements/Direct Model Manager infrastructure.
You can add a new service as follows :
1. Implement a new service class
2. Configure the new service in the service controller's configuration file.
Implementing a service class
The customization environment provides a service base class, com.osm.services.AbstractPollingManagerService, which implements all the functionality that is required to be a part of the service infrastructure. By default, the AbstractPollingManagerService class runs in a loop and calls a worker function in each iteration. The implementer of the service class must provide a worker function for the class.
Configuring the service
The service is configured in the ServiceControllerConfig.xml file located in C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6. The configuration consists of general XML tags that apply to all services as well as service-specific parameters.
* 
The ServiceControllerConfig.xml file is overwritten when the Creo Elements/Direct Manager Server is reconfigured. If you want to preserve your configuration, use CustomServiceControllerConfig.xml which takes precedence over ServiceControllerConfig.xml.
Was this helpful?