KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to determine if an HTTP request is a SOAP request?
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: May 9, 2003

To determine whether an HTTP request is a SOAP request, you can check the return value of the command 'Is SOAP request.' This command returns True if the code that is being executed is part of a SOAP request.

Here is an example of the command usage in the On Web Authentication database method:

C_TEXT($1;$2;$3;$4;$5;$6)

If (Is SOAP request)
$0:=True ` accept the request
Else
$0:=False ` deny the request
End if