HOW TO CONSUME REST WEBSERVICE IN ORACLE SOA 12c
(REST ADAPTER IN SOA 12c)
1.Create a SOA
Project named RESTInvoke
2.Create a Synchronous BPEL process
3.Drag and
drop the REST Adapter into the external References
4.Give the
name for Rest Reference and choose the appropriate option
5.Enter the
Base URI and the resource path of your Rest WebService
6.Create
Methods to invoke the WebService
7.Give name
for the method,choose the resource path and then choose the operation that you
are going to perform.Here I have used GET method.
8.Create URI
parameters for the request.
9.Give name
for the parameter and choose the style for the parameter.There are two Styles
available.
#QUERY parameters are the most common type of
parameter, which is appended to the path of the URL when submitting a request.
# TEMPLATE parameters are a flexible way of
parameterizing the actual path of the request.
I have selected query parameter.We can
specify the default value also.I have given 77 as the default value.
10.Click finish to complete the rest
configuration wizard.
11.Create a
wire between BPEL and Rest Adapter
12.Create two
json Variables for Invoke input and Invoke Output
13.Drag and drop the invoke activity.
14.Create a
wire between invoke and RestReference
15.Choose the
method that we are going to invoke and choose the input and output variables.
16.Map the input variables.
17.Map the Output Variables.
18.Now you can
deploy and test the Service.
This comment has been removed by the author.
ReplyDeleteThanks for your appreciation
ReplyDeleteIt is very good blog and useful for students
ReplyDeleteOracle SOA Online Training
Thanks
ReplyDeleteHi, I need to call rest adapter with authorization. How do i send authorization in this case?
ReplyDeleteHi Rafael,
DeleteYou can configure the OWSM security policy over the rest adapter. Example oracle/wss_http_token_client_policy use this policy to invoke the secured webservice. If still you have doubts you can contact me over my mail "aravindcse47@gmail.com"
Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updatingmulesoft online training
ReplyDeleteThis post is really insightful; it has helped me understand so many things. we are best Digital signature provider in Delhi
ReplyDeleteMake My Digital Signature
Thanks a lot for sharing a great blog with a lot of information bout ORACLE keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.
ReplyDeletehttps://smconsultant.com/training/oracle-fusion-middleware/oracle-soa-training/
Thanks a lot for sharing a great blog with a lot of information about ORACLE keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.
ReplyDeleteOracle SOA Training
Oracle SOA 12c Training
Oracle soa online training
Oracle soa course
oracle soa suite training
Thanks a lot for sharing a valuable blog on Oracle SOA Training. I was browsing through the internet looking for Oracle SOA Training and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information about Oracle SOA by attending Oracle SOA Training. You can learn about interview questions by visiting fusion Interview Questions
ReplyDeleteThanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA Interview Questions and Answers
ReplyDelete. Actually, I was looking for the same information on internet for
Oracle SOA Training and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about Oracle SOA Tutorial also.
This comment has been removed by the author.
ReplyDeleteFirst of all thanks to the blogger for sharing and giving useful information. Online Digital Signature in Delhi
ReplyDeleteVery useful information regarding blog commenting. Thanks for sharing. Online Digital Signature in Noida
ReplyDeleteAwesome article on blog commenting, keep the good work Thank you.Apply Digital Signature in Online
ReplyDeleteAwesome article on blog commenting, keep the good work Thank you.Digital Signature in India
ReplyDeleteAwesome article on blog commenting, keep the good work Thank you. Digital Signature In Noida
ReplyDeleteGreat article!! I am also using drop my link, it is very helpful in making back links.Digital Signature in Faridabaf
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks for writing such a great post. According to me also, commenting on blogs is a great tactic for link building Digital Signature Agency in Ahmadabad
ReplyDelete