Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

When calling REST Endpoint from VBCS, and there is a empty response, how to handle it in VBCS

Summary:

When calling REST Endpoint ( OIC Integration created based on DB Adapter ) from VBCS, and there is a empty response from the DB, the OIC just sends <responsewrapper/> and on obtaining this in VBCS Action Chain, it goes to the failure path with this below exception,

Exception during RestActionError: An error occurred while using 'json' to convert the response (application/json; charset=UTF-8): Unexpected end of JSON input-1An error occurred while using 'json' to convert the response (application/json; charset=UTF-8): Unexpected end of JSON input

How to correct this issue ?

Content (required):

Empty Response :

<executeResponse xmlns:ns0="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!