This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
SOAP REJECT NEW REQUESTS
|
SOAP REJECT NEW REQUESTS ( rejectStatus ) | ||||||||
Parameter | Type | Description | ||||||
rejectStatus | Boolean |
![]() |
True if new requests are rejected, else false | |||||
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.
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
Product: 4D
Theme: Web Services (Server)
Number:
1636
Created: 4D v17 R4
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)