Service - Xyna-Factory/xyna GitHub Wiki
Services in the context of the Xyna Factory are the foundation of a process-oriented automation of technical business processes. Services can be realized either as a Workflow, Coded Service or Instance Service.

Services represent functionally motivated components and provide a signature consisting of a set of (A) Input Parameters, (B) Output Parameters and (C) Exception Parameters, which leads to a high level of reusability. Services can be used as Modeling Block of a Workflow or generally speaking they can be reused in other contexts in the sense of a [service-oriented architecture](https://en.wikipedia.org/wiki/Service-oriented_architecture Service-Oriented Architecture (SOA)).
Manifestations
A Service can have one of the following manifestations:
- [Workflow]]: Modeled composition of [Process Steps
- Coded Service: Service implementation based on Java or Python code
- Instance Service: An Instance Service is an action of a Data Type. It can be implemented as Workflow, Java code, Python code or it can be abstract.
- Prototype Service: Service, that is used throughout Rapid Prototyping before the implementation decision has been taken
Java and Python implementations of Coded Services and Instance Services can be provided as an inline code snippet, or by referencing an implementation that is provided by a library. Template projects can be generated to ensure a consistent interface between the XMOM and service implementation.
See Also
- Workflow
- Prototype Service
- Service Group
- [https://en.wikipedia.org/wiki/Service-oriented_architecture Wikipedia:Service-Oriented Architecture](https://en.wikipedia.org/wiki/Service-oriented_architecture Wikipedia:Service-Oriented Architecture)