| 4D v18SOAP REJECT NEW REQUESTS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 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 v18)
	
	
	
 Add a comment
Add a comment