Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REST Web Service Data Control - how to handle exception from RESTservice call

Mary0514Aug 24 2014 — edited Aug 29 2014

Hi All,

I am using JDeveloper 12c. Below documentation from oracle to include http header from web service data control: 

5 Exposing Web Services Using the ADF Model Layer (12c (12.1.2))

What I need is the other way around.  On my web service data control, when the call catch error, it is shown in the http header.  I created a backing bean, but I am new to adf and I am not sure how I can get/ or whether it is possible to get the http response headers from the backing bean. Can anyone please help me or direct me to a link / tutorial on how I can get the http response header so that I may be able to display the error in my UI?  Thanks in advance!

Regards,

Mary

Message was edited by: Mary0514 Clarify requirement - http response header

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2014
Added on Aug 24 2014
12 comments
3,001 views