This service shows you how to call other sevices in a TCP service. You can test it with following command:
sweetp -p none -Porigin="tests/service/java/sayhello" tests service testproxy call
The service uses a base class for TCP communication, look at that project for more information about TCP services. Since groovy lives in the JVM it is recommended to build a jvm service.
For basic information see boilerplate service.
More Information on sweet productivity.