" /> Configure URS to use Webservices - Genesys CTI User Forum

Author Topic: Configure URS to use Webservices  (Read 8501 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Configure URS to use Webservices
« on: March 24, 2010, 09:02:35 PM »
Advertisement
Hi guys,
I have created a section called "web" under URS Options tab  and added the following options:

[quote]
[web]
http-port=9780
http_log_file=webservices.log
http_log_size=1024
log_check_interval=60
log_remove_old_files=off
parser_log_file=parser.log
soap_conn_idle_timeout=15
soap_recv_timeout=5
soap_retry_attempts=2
soap_retry_timeout=10
soap_send_timeout=5
verbose=6
xml_log_file=xml.log
[/quote]

However I can't make it work or at least see some XML or SOAP events...

What I get is:

[quote]
  _I_I_007001ca17aa2a4b [14:33] strategy: *0x65*WebServiceSMS is attached to the call
15:47:30.137 Int 20001 interaction 007001ca17aa2a4b is started
    _I_I_007001ca17aa2a4b [01:14] current call classification: media=voice(100), service=default(200), segment=default(300)
15:47:30.137_I_I_007001ca17aa2a4b [09:06] >>>>>>>>>>>>start interpretator
    _I_I_007001ca17aa2a4b [09:04] ASSIGN: __Return(SCRIPT) <- STRING:
    _I_I_007001ca17aa2a4b [07:46] no error mode for this call
    _I_I_007001ca17aa2a4b [09:04] ASSIGN: __Return(SCRIPT) <- STRING:
    _I_I_007001ca17aa2a4b [09:04] ASSIGN: __DBReturn(SCRIPT) <- STRING:
    _I_I_007001ca17aa2a4b [09:04] ASSIGN: __DBStrReturn(SCRIPT) <- STRING:
    _I_I_007001ca17aa2a4b [09:04] ASSIGN: __TargetVar(SCRIPT) <- STRING:
15:47:30.137_I_I_007001ca17aa2a4b [07:39] HERE IS XDATA
    _I_E_007001ca17aa2a4b [09:04] error in strategy: 0015 Closed server
    _I_I_007001ca17aa2a4b [09:04] ASSIGN: __WEBReturn(SCRIPT) <- LIST: list

[/quote]

Any idea what else am I missing?

Thanks

PD: already restarted URS

Offline rpenney

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 2
Re: Configure URS to use Webservices
« Reply #1 on: March 25, 2010, 07:34:32 AM »
check the startup section of the URS log to see if http-bridge is being initialised correctly

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Configure URS to use Webservices
« Reply #2 on: March 25, 2010, 02:12:49 PM »
I see nothing about http-bridge on the logs...
Here I attach the startup log

Thanks

LOG: http://www.sendspace.com/file/dsq36e

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Configure URS to use Webservices
« Reply #3 on: March 25, 2010, 03:00:17 PM »
09:09:07.901 Trc 04500 Connecting to HTTPServer '##HTTPSERVER' at host 'EBDGENESYS', port 0 ? Cav, also note that:
"Option hide_private_data is enhanced. When set to true, in addition to its
existing functionality:
- URS will not print in its logs parameters for Web Service requests and
also any result that a Web Service returns.
- http_bridge will not print in its log parameters and results of Web
Service requests.
- http_bridge will not generate an xml-soap log."

Fra
« Last Edit: March 25, 2010, 03:18:39 PM by Fra »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Configure URS to use Webservices
« Reply #4 on: March 25, 2010, 07:24:25 PM »
Dah! Oh my dummy fingers...
It is
http_port not http-port...ok now having an issue with SSL but at least now I see some traces :)

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Configure URS to use Webservices
« Reply #5 on: March 26, 2010, 01:07:36 AM »
aah! well done mate!  ;D

Fra

Offline Konoli34

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Configure URS to use Webservices
« Reply #6 on: November 10, 2022, 10:44:28 PM »
Hello there ,

It's like making a request to the Rest-Ful service via URS - IRD, but I'm getting an error in the logs.
My strategy is always coming out of the wrong step, can you help?in func GetHttpRequestInfoTLS  :(

    _I_I_009a03466956914e [09:04] ASSIGN __IntVar(LOCAL) <- INTEGER: 5
01:20:04.368_I_I_009a03466956914e [07:50] HERE IS XDATA
    _I_E_009a03466956914e [09:04] error in strategy: 0014 Unknown server (in func GetHttpRequestInfoTLS)
    _I_I_009a03466956914e [09:04] ASSIGN json(LOCAL) <- STRING[1,0]: ""



ScreenShots :

[img width=640 height=323]https://imgyukle.com/f/2022/11/11/JJzceI.png[/img]
[img width=640 height=389]https://imgyukle.com/f/2022/11/11/JJzXX1.png[/img]
[img width=640 height=395]https://imgyukle.com/f/2022/11/11/JJzjnA.png[/img]

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Configure URS to use Webservices
« Reply #7 on: December 02, 2022, 02:28:08 AM »
error 0014 means URS cannot find HttpBridge server (one URS uses to actually send http requsts).
Very likely httpbridge is just not configured.
Proper configuration assume defining in URS application the port with ID web (which URS will use to speak with httpbridge)
or alternatively
set URS option web/http_port to  some available port.