fgl_ws_server_setFault() (version 1.3)

Return a SOAP fault string to the client at the end of the function's execution.

This function can be called in a published Web-Function.

Note: This function is valid for backward compatibility, but is not a preferred way to handle Genero Web Services. See the com package for the preferred classes and methods for handling Web services.

Syntax

fgl_ws_server_setFault(
   faultMessage VARCHAR )
  1. faultMessage is a string containing the SOAP Fault string that will be returned to the client.

Example

 CALL fgl_ws_server_setFault(
    "The server is not able to manage this request.")