{"id":93863,"date":"2019-07-07T15:15:10","date_gmt":"2019-07-07T12:15:10","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=93863"},"modified":"2019-07-02T15:18:12","modified_gmt":"2019-07-02T12:18:12","slug":"consuming-json-based-rest-web-service-adf","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html","title":{"rendered":"Consuming JSON based REST Web Service in ADF 12.2.1.3"},"content":{"rendered":"<p>Previously I have posted about consuming ADF BC based REST Web Service in ADF. Now, this post talks about consuming JSON based REST Web Service using generic data control.<\/p>\n<p>You can also look at previous posts on Web Service for more information.<\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2015\/12\/create-soap-web-service-with-application-module-quickly-in-adf-12-2-1.html\" target=\"_blank\" rel=\"noopener noreferrer\">Create SOAP Web Service with Application Module quickly in ADF 12.2.1<\/a><\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2015\/12\/create-rest-web-service-with-application-module-declaratively-in-adf-12-2-1.html\" target=\"_blank\" rel=\"noopener noreferrer\">Create REST Web Service with Application Module declaratively in ADF 12.2.1<\/a><\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2016\/01\/consuming-soap-web-service-quickly.html\" target=\"_blank\" rel=\"noopener noreferrer\">Consuming a SOAP Web Service quickly using Web Service Data Control (WSDL) in ADF<\/a><\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2017\/05\/create-pojo-based-jax-ws-webservice-easily-with-jdeveloper-12-1-3.html\" target=\"_blank\" rel=\"noopener noreferrer\">Create POJO based JAX-WS WebService easily with JDeveloper 12.1.3<\/a><\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2017\/05\/populate-data-in-adf-table-using-web-service-data-control.html\" target=\"_blank\" rel=\"noopener noreferrer\">Populate data in ADF Table using Web Service Data Control<\/a><\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2017\/05\/populate-select-one-choice-using-web-service-data-control-in-adf-application.html\" target=\"_blank\" rel=\"noopener noreferrer\">Populate select one choice using Web Service Data Control in ADF Application<\/a><\/p>\n<p><a href=\"http:\/\/www.awasthiashish.com\/2017\/06\/access-jax-ws-webservice-from-java-class-using-web-service-proxy-in-jdeveloper.html\" target=\"_blank\" rel=\"noopener noreferrer\">Access JAX-WS web service from Java Class using Web Service Proxy in JDeveloper<\/a><\/p>\n<p>In this&nbsp;post,&nbsp;I am using a free REST API Web Service to get all countries name. Check below link for detail of Web Service methods.<\/p>\n<p><a href=\"http:\/\/www.groupkt.com\/post\/c9b0ccb9\/country-and-other-related-rest-webservices.htm\" target=\"_blank\" rel=\"noopener noreferrer\">RESTful web-services to get and search Countries<\/a><\/p>\n<p>Let\u2019s see how to implement this in JDeveloper&nbsp;12.2.1.3<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>Create a Fusion Web Application with default Model and View Controller projects.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"277\" height=\"248\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Fusion-Web-Application-2.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93874\"\/><\/figure>\n<\/div>\n<p>Right click on the View Controller project and&nbsp;Select&nbsp;<i>New\u2013&gt; From Gallery\u2013&gt; Business Tier\u2013&gt; Web Services<\/i>&nbsp;and select&nbsp;<i>Web Service Data Control SOAP\/REST&nbsp;<\/i><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"674\" height=\"509\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-WSDL.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93876\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-WSDL.jpg 674w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-WSDL-300x227.jpg 300w\" sizes=\"(max-width: 674px) 100vw, 674px\" \/><\/figure>\n<\/div>\n<p>It opens Web Service Data Control creation wizard, Select&nbsp;<strong>REST<\/strong>&nbsp;as Web Service type and provide a meaningful name,&nbsp;<strong>Generic Data Control with manually described resources<\/strong>&nbsp;as the type of data control.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"807\" height=\"611\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Generic-Data-Control-for-REST-WS.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93878\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Generic-Data-Control-for-REST-WS.jpg 807w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Generic-Data-Control-for-REST-WS-300x227.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Generic-Data-Control-for-REST-WS-768x581.jpg 768w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure>\n<\/div>\n<p>Click on the green plus icon to create new ADF Rest Connection, Enter connection name and URL of the web service.<\/p>\n<p>Here URL of web service is&nbsp;<em><strong>http:\/\/services.groupkt.com\/country\/get\/all<\/strong><\/em> and I am using <em><strong>http:\/\/services.groupkt.com\/country\/get<\/strong><\/em>, <em><strong>\/all<\/strong><\/em> is left here as it\u2019ll be used later. Select authentication type none and test connection.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"450\" height=\"538\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-REST-Connection-1.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93879\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-REST-Connection-1.jpg 450w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-REST-Connection-1-251x300.jpg 251w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/figure>\n<\/div>\n<p>Click on <strong>OK<\/strong> and you can see that REST connection is created. Click on the next button and skip <strong>OWSM policies<\/strong>&nbsp;and come to the <strong>Resources<\/strong> tab.<\/p>\n<p>Now click on green&nbsp;plus icon and add <em><strong>\/all<\/strong><\/em> as the resource path, select <strong>GET<\/strong> method checkbox and put a name for the method and set <strong>JSON<\/strong> as <strong>Data Format<\/strong>.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"805\" height=\"608\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Resources-for-REST-Web-Service.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93880\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Resources-for-REST-Web-Service.jpg 805w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Resources-for-REST-Web-Service-300x227.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Resources-for-REST-Web-Service-768x580.jpg 768w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/figure>\n<\/div>\n<p>Click on Next button and set method payload, Select <strong>Parse from Sample Code<\/strong> and access web service from the browser and paste the code in <strong>Response Sample<\/strong>.<\/p>\n<p>For this post click on this link to copy the sample response \u2013 <a href=\"http:\/\/services.groupkt.com\/country\/get\/all\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/services.groupkt.com\/country\/get\/all<\/a><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"801\" height=\"608\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Web-Service-Method.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93881\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Web-Service-Method.jpg 801w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Web-Service-Method-300x228.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Web-Service-Method-768x583.jpg 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure>\n<\/div>\n<p>Click on Next and Test Rest Connection.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"806\" height=\"608\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Test-REST-Connection.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93882\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Test-REST-Connection.jpg 806w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Test-REST-Connection-300x226.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Test-REST-Connection-768x579.jpg 768w\" sizes=\"(max-width: 806px) 100vw, 806px\" \/><\/figure>\n<\/div>\n<p>On the click of the&nbsp;finish button, a file&nbsp;<strong>DataControls.dcx<\/strong>&nbsp;is generated. This is a data control definition file and contains information about data collection nodes and built-in data collection operations.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"313\" height=\"132\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Data-Control-for-REST-WS.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93883\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Data-Control-for-REST-WS.jpg 313w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Data-Control-for-REST-WS-300x127.jpg 300w\" sizes=\"(max-width: 313px) 100vw, 313px\" \/><\/figure>\n<\/div>\n<p>Now consuming web service&nbsp;part is done and next is to create a page and use WSDL to show a table on that page.<\/p>\n<p>Right click on the view controller and select&nbsp;<em>New\u2013&gt; From Gallery\u2013&gt; Web Tier\u2013&gt; JSF\/Facelets<\/em>&nbsp;and create a new page<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"812\" height=\"270\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-new-page-in-ADF-App.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93884\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-new-page-in-ADF-App.jpg 812w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-new-page-in-ADF-App-300x100.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/Create-new-page-in-ADF-App-768x255.jpg 768w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n<\/div>\n<p>Expand Data Controls section of Fusion Web Application and you can see there a <strong>get()<\/strong> method and under it the <strong>message<\/strong> and <strong>result<\/strong>&nbsp;data collection.<\/p>\n<p>Drop <strong>get()<\/strong> method as a button and both collections as the table on the page and run application.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"573\" height=\"452\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Country-Web-Service-Result.jpg\" alt=\"Consuming JSON\" class=\"wp-image-93885\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Country-Web-Service-Result.jpg 573w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/07\/REST-Country-Web-Service-Result-300x237.jpg 300w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/figure>\n<\/div>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>Published on Java Code Geeks with permission by Ashish Awasthi, partner at our <a href=\"\/\/www.javacodegeeks.com\/join-us\/jcg\/\" target=\"_blank\" rel=\"noopener noreferrer\">JCG program<\/a>. See the original article here: <a href=\"http:\/\/www.awasthiashish.com\/2019\/01\/consuming-json-based-rest-web-service-in-adf.html\" target=\"_blank\" rel=\"noopener noreferrer\">Consuming JSON based REST Web Service in ADF 12.2.1.3<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Previously I have posted about consuming ADF BC based REST Web Service in ADF. Now, this post talks about consuming JSON based REST Web Service using generic data control. You can also look at previous posts on Web Service for more information. Create SOAP Web Service with Application Module quickly in ADF 12.2.1 Create REST &hellip;<\/p>\n","protected":false},"author":85448,"featured_media":175,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[69,815,106],"class_list":["post-93863","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-json","tag-rest","tag-web-services"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Consuming JSON based REST Web Service in ADF 12.2.1.3 - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Interested to learn about Consuming JSON? Check our article talks about consuming JSON based REST Web Service using generic data control.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Consuming JSON based REST Web Service in ADF 12.2.1.3 - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Interested to learn about Consuming JSON? Check our article talks about consuming JSON based REST Web Service using generic data control.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/ashhish000\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-07T12:15:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ashish Awasthi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ashish__awasthi\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashish Awasthi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html\"},\"author\":{\"name\":\"Ashish Awasthi\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/3c4672dfc526880ea60560f7474f6434\"},\"headline\":\"Consuming JSON based REST Web Service in ADF 12.2.1.3\",\"datePublished\":\"2019-07-07T12:15:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html\"},\"wordCount\":593,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/json-logo.jpg\",\"keywords\":[\"JSON\",\"REST\",\"Web Services\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html\",\"name\":\"Consuming JSON based REST Web Service in ADF 12.2.1.3 - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/json-logo.jpg\",\"datePublished\":\"2019-07-07T12:15:10+00:00\",\"description\":\"Interested to learn about Consuming JSON? Check our article talks about consuming JSON based REST Web Service using generic data control.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/json-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/json-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/07\\\/consuming-json-based-rest-web-service-adf.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Consuming JSON based REST Web Service in ADF 12.2.1.3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/3c4672dfc526880ea60560f7474f6434\",\"name\":\"Ashish Awasthi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7d5962e721af4cb01df8f894447ad50c65cb662e5b4b21332f3c4210eb052c2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7d5962e721af4cb01df8f894447ad50c65cb662e5b4b21332f3c4210eb052c2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7d5962e721af4cb01df8f894447ad50c65cb662e5b4b21332f3c4210eb052c2?s=96&d=mm&r=g\",\"caption\":\"Ashish Awasthi\"},\"description\":\"An Oracle ACE, Blogger, Reviewer, Technical Lead working on Oracle ADF\",\"sameAs\":[\"http:\\\/\\\/www.awasthiashish.com\",\"https:\\\/\\\/facebook.com\\\/ashhish000\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ashishkumarawasthi\\\/\",\"https:\\\/\\\/x.com\\\/ashish__awasthi\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/ashish-awasthi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Consuming JSON based REST Web Service in ADF 12.2.1.3 - Java Code Geeks","description":"Interested to learn about Consuming JSON? Check our article talks about consuming JSON based REST Web Service using generic data control.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html","og_locale":"en_US","og_type":"article","og_title":"Consuming JSON based REST Web Service in ADF 12.2.1.3 - Java Code Geeks","og_description":"Interested to learn about Consuming JSON? Check our article talks about consuming JSON based REST Web Service using generic data control.","og_url":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"https:\/\/facebook.com\/ashhish000","article_published_time":"2019-07-07T12:15:10+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","type":"image\/jpeg"}],"author":"Ashish Awasthi","twitter_card":"summary_large_image","twitter_creator":"@ashish__awasthi","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Ashish Awasthi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html"},"author":{"name":"Ashish Awasthi","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/3c4672dfc526880ea60560f7474f6434"},"headline":"Consuming JSON based REST Web Service in ADF 12.2.1.3","datePublished":"2019-07-07T12:15:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html"},"wordCount":593,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","keywords":["JSON","REST","Web Services"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html","url":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html","name":"Consuming JSON based REST Web Service in ADF 12.2.1.3 - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","datePublished":"2019-07-07T12:15:10+00:00","description":"Interested to learn about Consuming JSON? Check our article talks about consuming JSON based REST Web Service using generic data control.","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2019\/07\/consuming-json-based-rest-web-service-adf.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Consuming JSON based REST Web Service in ADF 12.2.1.3"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/3c4672dfc526880ea60560f7474f6434","name":"Ashish Awasthi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f7d5962e721af4cb01df8f894447ad50c65cb662e5b4b21332f3c4210eb052c2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f7d5962e721af4cb01df8f894447ad50c65cb662e5b4b21332f3c4210eb052c2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f7d5962e721af4cb01df8f894447ad50c65cb662e5b4b21332f3c4210eb052c2?s=96&d=mm&r=g","caption":"Ashish Awasthi"},"description":"An Oracle ACE, Blogger, Reviewer, Technical Lead working on Oracle ADF","sameAs":["http:\/\/www.awasthiashish.com","https:\/\/facebook.com\/ashhish000","https:\/\/www.linkedin.com\/in\/ashishkumarawasthi\/","https:\/\/x.com\/ashish__awasthi"],"url":"https:\/\/www.javacodegeeks.com\/author\/ashish-awasthi"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/93863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/85448"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=93863"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/93863\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/175"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=93863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=93863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=93863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}