Configure URS to use Webservices

Hi guys,
I have created a section called “web” under URS Options tab and added the following options:

[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

However I can’t make it work or at least see some XML or SOAP events…

What I get is:

_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

Any idea what else am I missing?

Thanks

PD: already restarted URS

check the startup section of the URS log to see if http-bridge is being initialised correctly

I see nothing about http-bridge on the logs…
Here I attach the startup log

Thanks

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

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

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 :slight_smile:

aah! well done mate! ;D

Fra

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 :frowning:

_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 :

https://imgyukle.com/f/2022/11/11/JJzceI.png

https://imgyukle.com/f/2022/11/11/JJzXX1.png

https://imgyukle.com/f/2022/11/11/JJzjnA.png

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.