" /> http logs in the ORS - Genesys CTI User Forum

Author Topic: http logs in the ORS  (Read 2502 times)

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
http logs in the ORS
« on: August 08, 2017, 04:04:54 PM »
Advertisement
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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: http logs in the ORS
« Reply #1 on: August 08, 2017, 06:42:51 PM »
Verbose = all for everything?

Enviado de meu E6633 usando Tapatalk


Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Re: http logs in the ORS
« Reply #2 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.
« Last Edit: August 08, 2017, 07:50:26 PM by vma »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: http logs in the ORS
« Reply #3 on: August 09, 2017, 12:55:28 AM »
Maybe do a Log output on the block. Put:
'WebService Output ' + JSON.stringify(AppState.varWebServiceOutput)


Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Re: http logs in the ORS
« Reply #4 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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: http logs in the ORS
« Reply #5 on: August 09, 2017, 03:54:02 PM »
And what should replace them? Any replace function you have?

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Re: http logs in the ORS
« Reply #6 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