Aller au contenu principal
Version : Suivant

Web Services (Serveur)

SOAP DECLARATION ( variable : Variable ; type : Integer ; input_output : Integer {; alias : Text} )
SOAP Get info ( numInfo : Integer ) : Text
SOAP REJECT NEW REQUESTS ( statutRejet : Boolean )
SOAP Request : Boolean
SOAP SEND FAULT ( typeErreur : Integer ; description : Text )

Publication of Web Services with 4D is carried out easily using options in the method properties. In most cases, this operation will be sufficient to enable you to publish Web Services. However, if you want to customize certain mechanisms, use data arrays, etc., you must use the server SOAP commands of 4D.

Note: By convention, the terms “SOAP” and “Web Service” have been used to differentiate between command (and constant) names on the server and client side, respectively. These two concepts refer to the same technology.