SOAP version 1.1 does not yet provide a built-in mechanism for authenticating or encrypting SOAP web requests.
One possibility would be to use the 4D command AUTHENTICATE WEB SERVICE. AUTHENTICATE WEB SERVICE command enables the use of Web Services requiring authentication of the client application
It is important to note that the authentication information passed is reset to zero after each request, so it becomes necessary to AUTHENTICATE WEB SERVICE before each web service call.
Authenticate Web Service
Web Services (Server) Commands
Web Services (Client) Commands