Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vma on August 08, 2017, 04:04:54 PM

Title: http logs in the ORS
Post by: vma on August 08, 2017, 04:04:54 PM
Hi Guys,
I know that in URS is possible to redirect http communcation to a different set of logs. Is there something similar in ORS?
For example I would like to see the exact xml is being sent to a Web Service.
Now I only see:
[code]18:00:44.018 [T:7484] {ScxmlMetricEvalExpr:3} METRIC <eval_expr sid='R0V1QJA3P517F60D0G04H9MH4G000ELJ' expression='var requestObj = new Object();
requestObj['WebUrl'] = 'http://1xxx/eai_enu/start.swe?SWEExtSource=SecureWebService';
requestObj['MethodName']='GetCustomerInfo';
request...' type='object' result='' />[/code]
I would like to see what's behind that '...' :)

Thanks,
vma
Title: Re: http logs in the ORS
Post by: cavagnaro on August 08, 2017, 06:42:51 PM
Verbose = all for everything?

Enviado de meu E6633 usando Tapatalk

Title: Re: http logs in the ORS
Post by: vma on August 08, 2017, 07:44:10 PM
verbose = all it is set but it still doesn't show the xml created by the webservice block and the xml response
The ideea is that I load a wsdl in the Webservice block, it populates the services, bindings, etc but not the parameters and I don't know how to format them exactly. I have an good example xml and I want to compare it with the one created by the Webservice block.
Title: Re: http logs in the ORS
Post by: cavagnaro on August 09, 2017, 12:55:28 AM
Maybe do a Log output on the block. Put:
'WebService Output ' + JSON.stringify(AppState.varWebServiceOutput)

Title: Re: http logs in the ORS
Post by: vma on August 09, 2017, 03:49:53 PM
Well I solved it using wireshark :)
Now I have a problem that the variables are not replaced in the Custom SOAP envelope.
I have something like "<q1:RequestIdentifier>$var_EmailAddress$</q1:RequestIdentifier>" and when I look in wireshark is just the same,, the variable was not replaces by proper value.
Title: Re: http logs in the ORS
Post by: cavagnaro on August 09, 2017, 03:54:02 PM
And what should replace them? Any replace function you have?
Title: Re: http logs in the ORS
Post by: vma on August 09, 2017, 04:02:24 PM
It should be done by Composer automatically in the WebService Block. It's a feature :)
Anyway I fixed this issue also, the variable was undefined.
Now it works... great!
Thanks for your time.
vma