Hi Michael,
thank you for your prompt reply.
I used './gradlew createPlugin -PpluginId=ofbizDemo' to create plugin and
didn't change directory structure.
The class is located under:
'../specialpurpose/ofbizDemo/src/com/companyname/ofbizdemo/services/OfbizDemoServices.java'
This is service definition:
<service name="createOfbizDemoByJavaService" default-entity-name="OfbizDemo"
engine="java"
location="com.companyname.ofbizdemo.services.OfbizDemoServices"
invoke="createOfbizDemo" auth="true">
<description>Create an Ofbiz Demo record using a service in
Java</description>
<auto-attributes include="pk" mode="OUT" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="false"/>
<override name="comments" optional="true"/>
</service>
At disposal for any additional infos, of course.