VoiceGuide IVR Software Main Page
Jump to content

Web Service Insert Account Balance

Recommended Posts

When i try to insert accBal in JSON. I can't get accBal, and errorCode use $RV[ModuleTitle_errorCode], $RV[ModuleTitle_accBal].

I also tried "accBal": 123.45 and $RV[errorCode], $RV[accBal].

 

 

{

"tlogid": null,
"accBal": "123.45",
"errorDetails": [
{
"errorCode": "00",
"errorDescription": "Authorised / Passed"
}
]
}

 

 

153837.646 26 3 1 rvns add ws_capiivr_ifsdemos_consume_apo_Result_Data|{ "tlogid":null, "accBal":"123.45", "errorDetails":[ { "errorCode":"00", "errorDescription":"Authorised / Passed" } ] }

 

 

153837.655 9 rv dbg rv_retrieve did not find [ws_capiivr_ifsdemos_consume_apo_accBal]

Share this post


Link to post

Please post vgEgine trace capturing system startup and the call during which this Web Service all was made. ie. post the entire vgEngine trace, not just excerpt.

 

We can then see what happened and advise.

 

Please .ZIP up traces before posting them.

Share this post


Link to post

Please update your system to this version:

[old link removed]

To change from one release of VoiceGuide v7 to another:

1. Stop VoiceGuide Service and exit all VoiceGuide programs. (eg Script Designer, Voicemail Manager, etc) and all other programs.

2. Run the VoiceGuide install and install into same directory as existing installation. (Do NOT uninstall the previous VoiceGuide installation).

3. Start VoiceGuide service.

Running a VoiceGuide install over the top of an existing install will NOT overwrite existing configuration or license files (Config.xml, ConfigLine.xml, VG.INI, VmBoxList.xml, etc) and will not remove any of users script or sound files, and will not remove any log files etc.

This new version fixes the bug encountered when JSON responses have some entries set to null.
Here is the relevant excerpt showing how new version behaves (some lines removed from trace).

The $RVs created are:

 

$RV[ws_capiivr_ifsdemos_consume_apo_tlogid]
$RV[ws_capiivr_ifsdemos_consume_apo_accBal]

$RV[ws_capiivr_ifsdemos_consume_apo_errorDetails_1_errorCode]

$RV[ws_capiivr_ifsdemos_consume_apo_errorDetails_1_errorDescription]

202720.023  29   5   1       ws    GetWsResponse_Callback start. class' taskParams.hash=817739315 clsRequestStateData.taskParams.hash=817739315
202720.023  29   5   1       ws    GetWsResponse_Callback request.hash=27625033
202720.023  29   5   1       ws    GetWsResponse_Callback start [ws_capiivr_ifsdemos_consume_apo], time since WsUserWorkItemCreated=00:00:01.3315377
202720.023  29   5   1       ws          header Pragma 0 = no-cache
202720.023  29   5   1       ws          header Connection 0 = close
202720.023  29   5   1       ws          header Content-Length 0 = 140
202720.023  29   5   1       ws          header Cache-Control 0 = no-cache
202720.023  29   5   1       ws          header Content-Type 0 = application/json
202720.023  29   5   1       ws          header Date 0 = Thu, 20 Apr 2017 10:27:15 GMT
202720.023  29   5   1       ws          header Expires 0 = -1
202720.023  29   5   1       ws          header Server 0 = Microsoft-IIS/7.5
202720.023  29   5   1       ws          header X-AspNet-Version 0 = 4.0.30319
202720.023  29   5   1       ws          header X-Powered-By 0 = ASP.NET
202720.023  29   5   1       ws          header scan returns: []
202720.023  29   5   1       ws          header list returns: [[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Pragma]{no-cache}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Connection]{close}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Content-Length]{140}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Cache-Control]{no-cache}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Content-Type]{application/json}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Date]{Thu, 20 Apr 2017 10:27:15 GMT}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Expires]{-1}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Server]{Microsoft-IIS/7.5}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_X-AspNet-Version]{4.0.30319}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_X-Powered-By]{ASP.NET}]
202720.023  29   5   1       ws    GetWsResponse_Callback ListHeadersAndReturnSomeRVs returned. sRV=[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Pragma]{no-cache}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Connection]{close}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Content-Length]{140}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Cache-Control]{no-cache}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Content-Type]{application/json}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Date]{Thu, 20 Apr 2017 10:27:15 GMT}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Expires]{-1}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Server]{Microsoft-IIS/7.5}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_X-AspNet-Version]{4.0.30319}[ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_X-Powered-By]{ASP.NET}
202720.023  29   5   1       ws    response.GetResponseStream call
202720.023  29   5   1       ws    sreaderResponse.ReadToEnd completed ret_bytes=140
202720.023  29   5   1       ws    strReturnedByByHttpResponse JSON parse : { 
"tlogid":null, 
"accBal":"123.45", 
"errorDetails":[ 
{ 
"errorCode":"00", 
"errorDescription":"Authorised / Passed" 
} 
] 
} 


...
202720.024  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_tlogid|null
...
202720.024  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_accBal|123.45
...
202720.025  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_errorDetails_1_errorCode|00
...
202720.025  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_errorDetails_1_errorDescription|Authorised / Passed
...
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Pragma|no-cache
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Connection|close
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Content-Length|140
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Cache-Control|no-cache
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Content-Type|application/json
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Date|Thu, 20 Apr 2017 10:27:15 GMT
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Expires|-1
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_Server|Microsoft-IIS/7.5
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_X-AspNet-Version|4.0.30319
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_http_resp_hdr_X-Powered-By|ASP.NET
202720.026  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_Result_Data|{ "tlogid":null, "accBal":"123.45", "errorDetails":[ { "errorCode":"00", "errorDescription":"Authorised / Passed" } ] } 
202720.026  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_Result_Data_QE_Doubled|{ ""tlogid"":null, ""accBal"":""123.45"", ""errorDetails"":[ { ""errorCode"":""00"", ""errorDescription"":""Authorised / Passed"" } ] } 
202720.026  29   5   1       rvns  add   ws_capiivr_ifsdemos_consume_apo_Result_Data_QE_Backslash|{ \"tlogid\":null, \"accBal\":\"123.45\", \"errorDetails\":[ { \"errorCode\":\"00\", \"errorDescription\":\"Authorised / Passed\" } ] } 
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_Result_Code|OK
202720.026  29   5   1       rv    add   ws_capiivr_ifsdemos_consume_apo_Result_Desc|OK
202720.026  29   5   1       ws    GetWsResponse_Callback iRunWait=1, WavPlayWasStarted=0, WavPlayHasNowFinished=0
202720.026  29   5   1       ws    modCurrentModuleWs.hash=39053774 this.hash=39053774
202720.026  29   5   1       ws    modCurrentModuleWs == this. set modCurrentModuleWs=null and free reference
202720.026  29   5   1       ModuleCompleted_WebServiceCall [200] : [OK]

Share this post


Link to post

If i want to install VoiceGuide in another machine. I need to install step by step

 

or just install VoiceGuide and the latest .exe?

Share this post


Link to post

Just the latest installer. All released installers are full installations. We do not release 'patches'.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×