Author Message
scanete
Joined: Jan 22, 2020
Messages: 16
Offline
Hi everyone,

We have OD IVR applications. The problem is that avrest-rt-07.20.09.04.jar library sends two invocations to the same service since it does not contain text/plain. It needs a seccond request with application/json.

Below part of logs:

02/01/2020 11:06:19:325 DEBUG - C94981DD32C12DCEBFFABF84A9C6587B:/AR_MESA_DESPACHO : Web Service Request -> https://wfm-ivr-middleware-wfm.osep01-apps.claro.amx/wfm/ivr/notification
02/01/2020 11:06:19:538 INFO - C94981DD32C12DCEBFFABF84A9C6587B:/AR_MESA_DESPACHO : Response had content type: text/plain. Retrying call with new type...
02/01/2020 11:06:19:754 DEBUG - C94981DD32C12DCEBFFABF84A9C6587B:/AR_MESA_DESPACHO : Storing [OK] to: returnValueFromWFM
02/01/2020 11:06:19:754 DEBUG - C94981DD32C12DCEBFFABF84A9C6587B:/AR_MESA_DESPACHO : Web Service Reply <- OK

Complete information at:

https://belltech-my.sharepoint.com/:f:/g/personal/sebastian_canete_belltech_la/ElHewXE4YclKrfBO99SUCc0BZW6bi29haOns32HqznNk-Q?e=09yoAe

Our customer requests a new library which contains text/plain or it send just a request.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
This is how the REST connector works. Typically REST services return JSON data. If your are expecting plain text, why don't you just use some JAVA code to open a URL connection to read the data. It's quite simple instead of using REST connector.
Go to:   
Mobile view