Skip to main content
Version: 21 R4 BETA

SOAP REJECT NEW REQUESTS

SOAP REJECT NEW REQUESTS ( rejectStatus : Boolean )

ParameterTypeDescription
rejectStatusBoolean→True if new requests are rejected, else false
History
ReleaseChanges
17 R4Created

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

See also​

REJECT NEW REMOTE CONNECTIONS
WEB Get server info

Properties​

Command number1636
Thread safeyes