Skip to main content
Version: Next

Web Services (Client)

WEB SERVICE AUTHENTICATE ( name : Text ; password : Text {; authMethod : Integer} {; *} )
WEB SERVICE CALL ( accessURL : Text ; soapAction : Text ; methodName : Text ; nameSpace : Text {; complexType : Integer {; *}} )
WEB SERVICE Get info ( infoType : Integer ) : Text
WEB SERVICE GET RESULT ( returnValue : Variable {; returnName : Text} {; *} )
WEB SERVICE SET OPTION ( option : Integer ; value : Integer, Text )
WEB SERVICE SET PARAMETER ( name : Text ; value : Variable {; soapType : Text} )

A Web Service is a set of functions published on a network. These functions can be called and used by any application compatible with Web Services and connected to the network. Web Services can carry out all types of tasks, such as supervising the routing of packages at a transporter’s, e-commerce, monitoring market values, etc.

Subscription to Web Services with 4D is easy to carry out using the Web Services Wizard. In most cases, this Wizard will be sufficient for you to be able to use Web Services. However, if you want to customize certain mechanisms, you must use the client 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.