Romeo Casimina 3 Posted August 30, 2019 Posted August 30, 2019 Hi, Checking if this is a known issue on issue and/or a recommended approach to properly handle a REST service call with empty response. Problem here is that I am invoking a REST service and some scenario it will return a HTTP 204 - No Content, but TIBCO BPM throws below error Caused by: com.tibco.bx.core.faults.BxException: org.osoa.sca.ServiceRuntimeException: Error Handling REST Response: HTTP response entity is null. at com.tibco.bx.core.behaviors.activity.BxRestBtInvokeBehavior.doExternal(BxRestBtInvokeBehavior.java:371) at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.handleModelEvent(BxActivityBaseBehavior.java:1178) ... I already added a Fault property in our RSD to catch the 204 code but it still encountered the same issue. Seems like this scenario is not being considered as a fault as HTTP 204 is really not an error and thus it always expects a response body for a succesful invocation of a REST service.
khaiser rafique Posted June 30, 2020 Posted June 30, 2020 Hello, Did you managed to fix this If yes, Please let me know as I'm also facing the same issue.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now