I would like to see what you are sending in your soap message.
My soap calls to URS look like this:
http://[ipaddress]:[port]/urs/call/max/lvq?name=CDDesktop*&aqt=stat&tenant=ResourcesResults in JSON format:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 228
{"CDDesktopPODA":{"time":1551980490,"wt":0,"calls":0,"wcalls":0,"pos":1,"wpos":1,"aqt":10000,"ewt":10000,"hit":66},"CDDesktopPODC":{"time":1551980490,"wt":0,"calls":0,"wcalls":0,"pos":1,"wpos":1,"aqt":10000,"ewt":10000,"hit":0}}
Also, can you provide feedback on Jim's earlier instructions?
I assume that in the URS application object in Genesys configuration that you defined both the soap_port and http_port in the 'http' section of the options or on the Server Info tab, correct? Per a note in the URS deployment guide (page 209), you must define both ports or URS will not start the HTTP interface.Did you also configure the log file settings for the HTTP interface? It not then I would recommend doing that, setting the logging to highest level, and then checking the log file after you restart URS to assure that the HTTP interface was started and is listening.Also, on the Connections tab, you have to add URS to its own connection list because the HTTP interface is a client of URS (see note on page 210 of deployment guide).After restarting URS, I'd check the standard URS log file for any error messages, I'd look at the URS HTTP log file for any errors, and I'd run 'netstat' from a command line to make sure that URS is listening on the ports that you defined for soap and http.------------------------------
Todd McCall
Bank of America
------------------------------
Original Message:
Sent: 03-06-2019 05:11
From: DEEPTI SRIVASTAVA
Subject: Unable to connect with stat server with PSDK
Hi Team,
I have configured http port in URS for http web API.
Getting below :- what is missing to get the EWT.
Original Message------
Deepti,
If URS has been configured, you will be able to fetch the help page from URS web services.
http://[ipaddress]:[port]/urs/help
I think Jim was pretty thorough in his advice to get URS configured. Once you get the help page, try using the 'lvq' API. It has an option for 'max' which will return the interaction with the highest values in the skill you specify, as well as the option for using an asterisk in the skill name to return a list of skills and the values of the 'max' interaction.
Finally, the 'aqt' parameter allows you to pull statistics from stat server or from URS.
Usage of lvq is in the help pages: http://[ipaddress]:[port]/urs/help/call/lvq (as you mentioned above)
Consider installing SoapUI as a Restful tool to communicate with URS and test the API responses and structures before plugging it into your code.
Happy coding!
------------------------------
Todd McCall
Bank of America
------------------------------