Calling a web service function A GWS REST service is called through a client application. Write the MAIN program code blockImport the client stub, and call its functions.Call the stub functionsThe service information obtained from the REST Web Service allows you to write client applications that use the service.Handle GWS REST server errorsWhen a call to a Genero Web Services REST function returns a status, you can check for server errors.