SOAP REJECT NEW REQUESTS
SOAP REJECT NEW REQUESTS ( rejectStatus )
Parameter | Type | Description | |
---|---|---|---|
rejectStatus | Boolean | → | True if new requests are rejected, else false |
Description
The SOAP REJECT NEW REQUESTS command specifies whether or not the Web Services server accepts new SOAP requests.
In rejectStatus, pass True to reject new SOAP requests. Passing False specifies that new SOAP requests are allowed.
Note: This command can only be executed on 4D Server. If the method calling the command is executed locally on a remote client or in 4D single user, SOAP REJECT NEW REQUESTS does nothing.
Example
You want to deny any new requests to your Web Services server:
//method to be executed on server
If(WEB Get server info.SOAPServerStarted)
SOAP REJECT NEW REQUESTS(True)
End if