Overview


Error Messages

A description of all the error messages the APIs can raise, with a solution for the associated problems:


      Name  Number       Description
 INTERNAL_SERVER_ERROR  -15500 Message: Internal runtime error occurred in WS server program
Solution:
Contact your support center.

 

 FUNCTION_ERROR  -15501 Message: Cannot create WS operation because the given function is not defined.
Solution:
Verify that the name of the BDL function of fgl_ws_server_publishFunction() is correct.

 

 FUNCTION_DECLARATION_ERROR  -15502 Message: Invalid WS-function declaration, no parameters allowed.
Solution:
Verify that the BDL function has no input and no output parameters.

 

 FUNCTION_ALREADY_EXISTS  -15503 Message: Operation name is already used in the current web service.
Solution:
You must change the name of the Web-Function operation in the function fgl_ws_server_publishFunction().

 

 PORT_ALREADY_USED  -15504 Message: WS server port already used by another application.
Solution:
You must change the port number in the function fgl_ws_server_start().

 

 BDL_XML_ERROR  -15505 Message: Some BDL data types are not supported by XML.
Solution:
Verify that all exposed functions don't contain one of the following data types:
  • DATETIME beginning with MINUTE
  • DATETIME beginning with SECOND
  • INTERVAL beginning with YEAR and/or MONTH
 INTERNAL_CLIENT_ERROR  -15506 Message: Internal runtime error occurred in WS client program.
Solution:
Contact your support center.

 

 ALL_HANDLE_ALLOCATED  -15507 Message: All WS operation handlers already allocated.
Solution:
You must free the unused client handler with the fgl_ws_client_freeMethod() function.

 

 HANDLE_NOT_ALLOCATED  -15508 Message: WS operation handle not allocated.
Solution:
You must first call the fgl_ws_client_createMethod() function to get a valid handle.

 

 BAD_INOUT_PARAMETER  -15509 Message: Invalid WS input/output parameter specification.
Solution:
Only 1 or 2 is allowed, all other values are incorrect.

 

 VARIABLE_PATH_ERROR  -15510 Message: Invalid WS variable path specification.
Solution:
Verify that the variable path corresponds to the input or output record message.

 

 INVALID_OPTION_NAME  -15511 Message: Invalid fgl_ws_set/getOption() parameter.
Solution:
Verify that the option flag of the fgl_ws_set/getOption() function exists.

 

 INPUT_VARIABLE_ERROR  -15512 Message: WS input record not defined.
Solution:
Verify that the name of the input record on the fgl_ws_server_publishFunction() exists.

 

 OUTPUT_VARIABLE_ERROR  -15513 Message: WS output record not defined.
Solution:
Verify that the name of the output record on the fgl_ws_server_publishFunction() exists.

 

 PORT_NOT_NUMERIC  -15514 Message: The port value from the FGLAPPSERVER environment variable or from the parameter of the fgl_ws_server_start() function is not a numeric one.
Solution:
Verify that the port value contains only digits.

 

 NO_AS_FOUND  -15515 Message: No application server has been started at specified host.
Solution:
Verify that FGLAPPSERVER contains the right host and port where the application server is listening.

 

 LICENSE_ERROR  -15516 Message: No more licenses available.
Solution:
Contact your support center.

 

 BAD_RUNNER_VERSION  -15517 Message: Current runner version not compatible with the Web Services Extension.
Solution:
Install the right version of the Genero BDL.

 

 INPUT_NAMESPACE_MISSING  -15518 Message: The input namespace of your Web function is missing.
Solution:
Add a valid input namespace in fgl_ws_publishFunction().

 

OUTPUT_NAMESPACE_MISSING  -15519 Message: The output namespace of your Web function is missing.
Solution:
Add a valid output namespace in fgl_ws_publishFunction().