Last Updated: March 6, 2006
Creating services -- Workbench side

Creating services -- Agent side

Note that it is not explicitly necessary to have code on the agent side in order to invoke a service. You can use the ServiceInvoker class to directly invoke a service. However, since the parameter passing is string based, one would certainly expect that any services invoked from a test itself would be wrapped on the agent side by a more friendly API. In either case, a test service is invoked by calling ServiceInvoker.invokeService(String serviceName, String args); All service calls are currently synchronous, so the invokeService() method will not return until the service call is complete, and it will return a string containing either the return result of the service, or a String beginning with "Exception:", followed