Get SOAP info

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


Get SOAP info (infoNum) String

ParameterTypeDescription
infoNumLongintNumber of type of SOAP info to get
Function resultStringSOAP 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:

ConstantTypeValue
SOAP Method NameLongint1
SOAP Service NameLongint2

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.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next