Documentation::setPassword

Method is usually called once per month to change identification password for current robot.

The only input parameter is password (xsd:hexBinary), the MD5 Message-Digest Algorithm (see IETF RFC 1321 or contact Ronald L. Rivest for details) checksum of new password. Clients should be ready to SHA1, which will be used in near future because of MD5 security leaks.

The only output is status (xsd:byte).

Status codes

-9Internal server error, password not changed.
-1Server subsystem error, password not changed.
0Client system error, password not changed. Check input data and look for authentication errors.
1Password successfully changed, next transaction will be authenticated using a new password.

Authentication

SOAP client must be capable of basic HTTP authentication to use this method.

Example request

POST /index.php HTTP/1.0
User-Agent:ClTest/1.0.0 (0.99)
Host:dev.techdata.cz
Content-Type:text/xml; charset=UTF-8
SOAPAction:"http://xchgdemo.techdata.cz/index.php/setPassword"
Content-Length:583

Example response

HTTP/1.1 200 OK
Date:Tue, 10 Aug 2004 14:55:19 GMT
Server:Apache
X-SOAP-Server:NuSOAP/0.6.8 (1.76)
Content-Length:561
Connection:close
Content-Type:text/xml; charset=UTF-8