AUTHENTICATE WEB SERVICE

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


AUTHENTICATE WEB SERVICE (name; password)

ParameterTypeDescription
nameStringUser name
passwordStringUser password

Description

The AUTHENTICATE WEB SERVICE command enables the use of Web Services requiring authentication of the client application (simple authentication).

In the name and password parameters, pass the required identification information (user name and password). This information will be encoded and added to the HTTP request sent to the Web Service using the CALL WEB SERVICE command. It is thus necessary to call the AUTHENTICATE WEB SERVICE command before calling the CALL WEB SERVICE command.

The authentication information is reset to zero after each request. Therefore, you must use the AUTHENTICATE WEB SERVICE command before each CALL WEB SERVICE command.

If authentication fails, the SOAP server returns an error that you can identify using the Get Web Service error info command.

See Also

CALL WEB SERVICE, Get Web Service error info.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next