06-01-2014, 07:03 PM
Sorry to have left that out and to have been gone for so long, but you are correct -- I am trying to use the webservice development tool. I was trying to construct an update to a user - which the Vtiger guys now tell me is not allowed. Generally it seems to work well with Vtiger 6.0. I've got a question into the Vtiger team about whether thirdparty development should be done with vtwsclib or the new vtlib implementation.
I'm looking at each of the Load examples and so far the only one that doesn't seem to work is the "015-dologin.php". It looks like it should work. The GetChallenge code works, but the doLogin code fails:
Raw response (json) GetChallenge
{"success":true,"result":{"token":"538b770f6f1f3","serverTime":1401648911,"expireTime":1401649211}}
Webservice response GetChallenge
Array ( [success] => 1 [result] => Array ( [token] => 538b770f6f1f3 [serverTime] => 1401648911 [expireTime] => 1401649211 ) )
Raw response (json) doLogin
Webservice response doLogin
login failed:
I'm looking at each of the Load examples and so far the only one that doesn't seem to work is the "015-dologin.php". It looks like it should work. The GetChallenge code works, but the doLogin code fails:
Raw response (json) GetChallenge
{"success":true,"result":{"token":"538b770f6f1f3","serverTime":1401648911,"expireTime":1401649211}}
Webservice response GetChallenge
Array ( [success] => 1 [result] => Array ( [token] => 538b770f6f1f3 [serverTime] => 1401648911 [expireTime] => 1401649211 ) )
Raw response (json) doLogin
Webservice response doLogin
login failed: