GetService

Gets the service from the server.

Syntax

public Service getService(String serviceName) 

Parameters

  • Name - the name of the service

Results

Returns the specific service.

Exceptions

throws ServiceNotFoundException, ServiceCreationException

Example

Service service = server.getService("ValidateAddress");