Service "groups" are a technique for grouping together Services where there is a need to run all the Services together.
Create or find an existing Service group definition XML document. This XML document will have an XML version declaration as follows:
<?xml version="1.0" encoding="UTF-8" ?>
And a Service group XML schema declaration as shown:
<service-group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://ofbiz.apache.org/dtds/service-group.xsd">
If creating a new Service group definition XML document, ensure that this document is configured in the containing Component's ofbiz-component.xml
file. For example, if creating a Service group definition XML document in the servicedef
directory, add a line similar to the following to the ofbiz-component.xml
file:
<service-resource type="group" loader="main" location="servicedef/groups.xml"/>