15. Наша служба POST
13 ноября 2020 г.
17:30
Служба принимает POST с телом XML - сериализует тело и отправляет на App server One Identity в теле JSON
Траблшутинг
- Не работает служба и выдает ошибки
Проверить, что в папке есть файл config и папка logs
Описание файла config
Put this XML with name "config.xml" in webservice executepath.
Description:
All parameters apply after restart.
auth2app = true - log to %executepath%\logs\date%_app_authstatus.log
post2app = true - log to %executepath%\logs\date%_post2appserverstatus.log
get2app = true - log to %executepath%\logs\date%_get2appserverstatus.log
put2app = true - log to %executepath%\logs\date%_put2appserverstatus
json2app = true - log to %executepath%\logs\date%_json2appserver.log
appserverhost = OneIM AppServer , format: between \<appserverhost> - , %host% your ISS site where published OneIM AppServer
applogin = OneIM AppServer account login
hash = OneIM AppServer account password hash
newpass = element for generating new hash in %executepath%\newhash.txt, use this when password from OneIM AppServer account was changed. If not need must be filled with value "notset", else service will be stopped.
1. Type new password between \<newpass> and start service. Hash will be generated in %executepath%\newhash.txt. Service will be stopped.
2. Updated \<hash> in this config, with value from newhash.txt.
3. Type "notset" without quotes beetween \<newpass>.
4. Start service.