This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
SOAP REJECT NEW REQUESTS

SOAP REJECT NEW REQUESTS 


 

SOAP REJECT NEW REQUESTS ( rejectStatus ) 
Parameter Type   Description
rejectStatus  Boolean in 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.

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 

Product: 4D
Theme: Web Services (Server)
Number: 1636

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)