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!

Exception Can NOT Response To HTTP Response By Using RESTful Service in JDeveloper 11g

Hi,

I am one of the fusion developers that I am working some application project. Before we use the JDeveloper 12c, we use the RESTful Service in 12c. We have some java code extend the ViewObjectImpl. We realize it and have our own logic.

In 12c, if there is some exception throw out, the HTTP response in frontend can be fetched and see the error messge directly, it works fine but in 11g, it doesn't. It just ONLY can output the exception message on the backend jdeveoper console not back to HTTP response body. Does anyone know that if this is the limitation of 11g?

The screen shots are as below:

  1. Error msg in jdev console

pastedImage_0.png

  1. The frontend response

inspectionGroupLines is the rest name of that.

pastedImage_1.png

  1. The code piece of what happened

pastedImage_2.png

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2017
Added on Aug 29 2017
0 comments
82 views