New services can be added dynamically by copying the appropriate Groovy Class or Groovy script file to wzz-bridge/GroovyServiceHome directory.
Groovy Classes
Groovy class must implement {{{services.core.commands.execute.SimpleGroovyService}}}
wzz-bridge/GroovyServiceHome/HelloClass.groovy
wzz-bridge/GroovyServiceHome/GetMilliTime.groovy
wzz-bridge/GroovyServiceHome/GetNanoTime.groovy
'''Groovy Scripts'''
Only one argument passed in "${argument}", and three values expected to be passed out, which are: "responseCode", "responseMessage", and "responseResult".
Java classes should have a services.core.commands.SimpleCommandResponse return type for service calls, otherwise the String value of the returned object will be used. New services can be added dynamically by copying the appropriate ".jar" file to the wzz-bridge/JavaServiceHome directory.
You will need to add the appropriate java database library jar to to wzz-bridge/ApplicationHome/lib directory and restart the wzz-bridge for the libraries to become available. (For instance, ojdbc14.jar for Oracle). Additionally you will need to set the correct database values by editing the wzz-bridge/ApplicationHome/application.properties file.
The optional "sessionId" parameter is the unique key that resolves to the clients ip address if not given.
This service can response with local or remote properties
wzz-bridge/PropertyFileHome/default.properties
java.sun.com/j2se/1.3/font.properties