version 2003
Get SOAP info (infoNum) String
Parameter | Type | Description | |
infoNum | Longint | Number of type of SOAP info to get | |
Function result | String | SOAP Information |
Description
The Get SOAP info command is used to retrieve, in the form of a character string, the different types of information concerning a SOAP request.
When you process a SOAP request, it may 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:
Constant | Type | Value |
SOAP Method Name | Longint | 1 |
SOAP Service Name | Longint | 2 |
SOAP Method Name = name of the Web Service method about to be executed.
SOAP Service Name = name 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 ("Structure Access" theme).
See Also
SEND SOAP FAULT, SET DATABASE PARAMETER.