Handle GWS server errors

When a Genero Web Services service operation returns a status that is non-zero, you can get a more detailed error description from the record wsError.

The wsError record is defined in the WSHelper module. To use it in your GWS client application, you must import it with an IMPORT FGL WSHelper statement in your client module.
DEFINE wsError RECORD
  code STRING,         -- Short description of the error
  codeNS STRING,       -- The namespace of the error code
  description STRING,  -- Long description of the error
  action STRING        -- internal "SOAP action"
END RECORD