Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
but actual co — Cloud Customer Connect
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

but actual co

Received Response
14
Views
3
Comments
edited Sep 11, 2021 9:57PM in Integration 3 comments

Summary

Content Type doesnt match even though POSTMAN gives the response

Content

We are facing an issue where from VBCS REST API, we are receiving response when its executed using POSTMAN.

The content type in the response is coming as "application/vnd.oracle.adf.resourcecollection+json".

GET https://<hostnam>/ic/builder/design/<object_name>/1.0/resources/data/<boname>?q=subscriptionNumber=7033 and itemRelation= 'ROYALTY1' and sequenceNumber=1 and itemType in ('TOPUP','TRUEUP')

However, when we implemented the calls in OIC REST API to call the VBCS API, we are seeing the following error:

An error occurred while processing the response payload in the target REST endpoint.]]&amp;gt;&lt;/nstrgdfl:errorPath&gt;&lt;nstrgdfl:instance&gt;&amp;lt;![CDATA[Configured content-type is [application/vnd.oracle.adf.resourcecollection+json] but actual content-type is [text/html]Target REST endpoint response payload processing failed. -- java.lang.ClassCastException: oracle.xml.parser.v2.XMLDocument cannot be cast to java.io.InputStre:Application Error"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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