Skip to Main Content

APEX

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!

How to use input parameters of REST Web Service Reference

Soukaina IDRISSISep 14 2017 — edited Sep 18 2017

Hello everyone,

After created a POST method RESTFul services (That create a new employee)

post_mth.PNG

I tested it using ARC chrome extension, everything is ok

arc_rslt.PNG

even the response of the request is good, and the record is created in the EMP table with new input parameters as well.

post_response.PNG

Now, i want to create a form and report on web service, to implement this POST method on my application.

So for that, i create a REST Web service reference :
- I go to Shared Components

- In Data References section -> Web Service References- I click on the Create button

- I selected REST as type of Web reference,

- I entered this informations below:

config_POST_EMP.PNG

- I test this Web Service reference, i get the Employee created message in response , but when i check in my EMP table the record is created with auto increment empno , and ename and job fields are empty.

This post has been answered by Pavel_p on Sep 18 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2017
Added on Sep 14 2017
14 comments
1,065 views