Hi
Trying to execute a PUT request via REST API to a vendor. ADT translated from HL7 to JSON via tclproc. Outbound thread setup to be java/ws-rawclient (config in attachment)
----------------------------------------------------------------------
Message sent: (Test - no PHI)
[pd :thrd:DBUG/3:xxxxxx_JavaRaw:--/--/---- --:--:--] message : '{first_name=KEVIN&middle=&last=GRAND%20CENTRAL&mrn=202979&dob=01/23/1974&bed_id=LED-D31-D31&encounter_id=2002273077}'
Warning Msg in logfile:
[java:java:WARN/1:xxxxxxxx_JavaRaw_0:05/10/2022 15:47:53] com.infor.cloverleaf.gjdws.WSRawClient processMessageFromCloverleaf:WARNING: caught exception using webClient to call
https://xxxxxxxx-test.xxxxxxxx.com/api/v1/adt/update**************************************************************
http Response from Vendor:
{httpResponseInfo Unauthorized} {httpResponseHeaders {{Strict-Transport-Security max-age=15552000\;\ includeSubDomains} {transfer-encoding chunked} {Cache-Control no-cache} {X-Request-Id f114229d-bc12-476a-9866-b3b16b471ac0} {X-Runtime 0.008174} {connection keep-alive} {content-type application/json\;\ charset=utf-8} {Set-Cookie ahoy_visitor=5961c21d-965b-4b15-a768-2788155981ea\;\ domain=.xxxxxxxxx.com\;\ path=/\;\ expires=Fri,\ 10\ May\ 2024\ 19:47:53\ -0000\;\ secure} {Date Tue,\ 10\ May\ 2022\ 19:47:53\ GMT}}} {httpResponseCode 401}
[pd :pdtd:INFO/3:xxxxxx_JavaRaw:--/--/---- --:--:--] message : '{"error":{"tenant":["token unauthorized to access"]}}'
***********************************************
Vendor feedback is "PUT" is not being sent
We're able to execute the "PUT" via POSTMAN, see in attached file.
Thoughts/tips?
Thanks