Skip to main content
Version: Next

SOAP Get info

SOAP Get info ( infoNum ) -> Function result

ParameterTypeDescription
infoNumLongint🡒Number of type of SOAP info to get
Function resultString🡐SOAP Information

Description

The SOAP Get info command retrieves, in the form of a character string, the different types of information concerning a SOAP request.

When you process a SOAP request, it can be useful to obtain additional information — other than the RPC parameter values — about the request. For instance, for security reasons, you can use this command in the On Web Authentication Database Method to find out the name of the requested Web Service method.

Pass the number of the type of SOAP information you want to get in the infoNum parameter. You can use the following predefined constants, located in the Web Services (Server) theme:

ConstantTypeValueComment
SOAP method nameLongint1Name of the Web Service method about to be executed
SOAP service nameLongint2Name of the Web Service to which the method belongs

Note: Also for security reasons, it is possible to set the maximum size for Web Services requests sent to 4D. This configuration is carried out using the SET DATABASE PARAMETER command.

See also

SET DATABASE PARAMETER
SOAP SEND FAULT