{"id":927,"date":"2012-02-13T16:05:00","date_gmt":"2012-02-13T16:05:00","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/2012\/10\/json-web-service-with-java-and-axis2.html"},"modified":"2012-10-21T23:02:27","modified_gmt":"2012-10-21T23:02:27","slug":"json-web-service-with-java-and-axis2","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html","title":{"rendered":"JSON web service with Java and Axis2"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left\">I have recently met a client who asking me to rebuild their legacy product using Java web service.<br \/>\nThey want it modular and easy to use. The first thing crossed my mind is using restful approach.<\/p>\n<p>But there is only thing that bothers me, Java restful approach is using XML!, I would prefer a simpler way to communicate, easy to understand and parsed data, so <a href=\"http:\/\/www.json.org\/\" title=\"http:\/\/www.json.org\/\">Json<\/a>it is. I start google-ing a little and came across this excellent blog <a>Json<\/a> web service with Java and Axis2?<br \/>\nhref=\u201dhttp:\/\/www.marcusschiesser.de\/2009\/01\/building-a-json-web-service-with-java-and-axis2\/\u201d&gt;Building a <a href=\"http:\/\/www.json.org\/\" title=\"http:\/\/www.json.org\/\">Json<\/a> web service with Java and Axis2.<\/p>\n<p>I read the blog but it seem there some minor problem which they(he and the blog commenter) already solved.<\/p>\n<p>So I am not here to revise on anything just to sum it up so it will be easier for you to build a <a href=\"http:\/\/www.json.org\/\" title=\"http:\/\/www.json.org\/\">Json<\/a> web service with Java and Axis2.<br \/>\nI am using <a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html\" target=\"_blank\" title=\"Java 1.7\">Java 1.7<\/a> and <a href=\"http:\/\/tomcat.apache.org\/download-70.cgi\" target=\"_blank\" title=\"Apache Tomcat 7.0\">Apache Tomcat 7.0<\/a>.<\/p>\n<p>The steps are not so different with my reference blog, but I have minor modification on the steps.<br \/>\n1. Download the Axis2 war that includes jetisson patch and DynamicRespondHandler Axis2 Module <a href=\"http:\/\/dl.dropbox.com\/u\/20615228\/blogcontent\/axis2.war\" title=\"Axis2 1.6.1 war with manual-patched-Jettison 1.2.1 + DynamicRespondHandler Axis2 Module\">here<\/a><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>Note that the Axis2 above is pre-configure,but still I would like to show what the changes are:<br \/>\n&#8211; Added module reference to the <code>axis2.xml<\/code> file<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;br \/&gt;&amp;lt;module ref=\"DynamicResponseHandler\"\/&amp;gt;&lt;br \/&gt;<\/pre>\n<p>&#8211; Added <a href=\"http:\/\/www.json.org\/\" title=\"http:\/\/www.json.org\/\">Json<\/a> Message formatters<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;br \/&gt;&amp;lt;messageFormatter contentType=\"application\/json\" class=\"org.apache.axis2.json.JSONMessageFormatter\"\/&amp;gt;&lt;br \/&gt;&amp;lt;messageFormatter contentType=\"application\/json\/badgerfish\" class=\"org.apache.axis2.json.JSONBadgerfishMessageFormatter\"\/&amp;gt;&lt;br \/&gt;<\/pre>\n<p>&#8211; Added <a href=\"http:\/\/www.json.org\/\" title=\"http:\/\/www.json.org\/\">Json<\/a> Message builders<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;br \/&gt;&amp;lt;messageBuilder contentType=\"application\/json\" class=\"org.apache.axis2.json.JSONOMBuilder\"\/&amp;gt;&lt;br \/&gt;&amp;lt;messageBuilder contentType=\"application\/json\/badgerfish\" class=\"org.apache.axis2.json.JSONBadgerfishOMBuilder\"\/&amp;gt;&lt;br \/&gt;<\/pre>\n<p>2. Download you favorite Java application server, in this case I am using <a href=\"http:\/\/tomcat.apache.org\/download-70.cgi\" target=\"_blank\" title=\"Apache Tomcat 7.0\">Apache Tomcat 7.0<\/a>.<br \/>\n3. Deploy Axis2 war to your application server, in my case I just copy the Axis2 war to Tomcat`s <code>webapps<\/code> folder.<br \/>\n4. Start your application server and open this URL using your web browser (your URL might slightly different then mine, depend on your HTTP port setting on your application server):<br \/>\n<a href=\"http:\/\/localhost:8080\/axis2\/services\/Version\/getVersion?response=application\/json\" title=\"http:\/\/localhost:8080\/axis2\/services\/Version\/getVersion?response=application\/json\"><\/a><br \/>\n<a href=\"http:\/\/localhost:8080\/axis2\/services\/Version\/getVersion?response=application\/json\" title=\"http:\/\/localhost:8080\/axis2\/services\/Version\/getVersion?response=application\/json\">http:\/\/localhost:8080\/axis2\/services\/Version\/getVersion?response=application\/json<\/a><br \/>\nyour browser should shows this:<\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-ywfK2yooWgc\/TzaRWTMqFxI\/AAAAAAAAANg\/CErkxEdRUq4\/s1600\/axis2_json_web_service_result-e1323937438315.png\"><img decoding=\"async\" border=\"0\" height=\"137\" src=\"http:\/\/3.bp.blogspot.com\/-ywfK2yooWgc\/TzaRWTMqFxI\/AAAAAAAAANg\/CErkxEdRUq4\/s640\/axis2_json_web_service_result-e1323937438315.png\" width=\"640\" \/><\/a><\/div>\n<p>So that is the start, I hopefully can post more about this in the future. Cheers.<\/p>\n<p><strong><i>Reference: <\/i><\/strong><a href=\"http:\/\/blog.djakapm.com\/2011\/12\/15\/json-web-service-with-java-and-axis2\/\">JSON web service with Java and Axis2<\/a>&nbsp;from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a><span class=\"Apple-style-span\" style=\"font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif\"><span class=\"Apple-style-span\" style=\"font-size: 14px;line-height: 18px\"><strong>&nbsp;<\/strong><\/span><\/span>Djaka Pribadi Maulana at the&nbsp;<a href=\"http:\/\/blog.djakapm.com\/\">A.K.A Self notes<\/a>&nbsp;blog. <\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing crossed my mind is using restful approach. But there is only thing that bothers me, Java restful approach is using XML!, I would prefer a simpler &hellip;<\/p>\n","protected":false},"author":137,"featured_media":175,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[370,69,106],"class_list":["post-927","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-apache-axis2","tag-json","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>JSON web service with Java and Axis2 - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing\" \/>\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\/2012\/02\/json-web-service-with-java-and-axis2.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JSON web service with Java and Axis2 - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.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:published_time\" content=\"2012-02-13T16:05:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-10-21T23:02:27+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=\"Djaka Pribadi Maulana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Djaka Pribadi Maulana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html\"},\"author\":{\"name\":\"Djaka Pribadi Maulana\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/8f7b3cc598a8bfdb3d720ae4d108cef0\"},\"headline\":\"JSON web service with Java and Axis2\",\"datePublished\":\"2012-02-13T16:05:00+00:00\",\"dateModified\":\"2012-10-21T23:02:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html\"},\"wordCount\":352,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/json-logo.jpg\",\"keywords\":[\"Apache Axis2\",\"JSON\",\"Web Services\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html\",\"name\":\"JSON web service with Java and Axis2 - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/json-logo.jpg\",\"datePublished\":\"2012-02-13T16:05:00+00:00\",\"dateModified\":\"2012-10-21T23:02:27+00:00\",\"description\":\"I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.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\\\/2012\\\/02\\\/json-web-service-with-java-and-axis2.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\":\"JSON web service with Java and Axis2\"}]},{\"@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\\\/8f7b3cc598a8bfdb3d720ae4d108cef0\",\"name\":\"Djaka Pribadi Maulana\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ebc17add32e22a9186ce8316564f219552f7830c0e1167569e7a2e2a0eab8a03?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ebc17add32e22a9186ce8316564f219552f7830c0e1167569e7a2e2a0eab8a03?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ebc17add32e22a9186ce8316564f219552f7830c0e1167569e7a2e2a0eab8a03?s=96&d=mm&r=g\",\"caption\":\"Djaka Pribadi Maulana\"},\"sameAs\":[\"http:\\\/\\\/blog.djakapm.com\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Djaka-Pribadi-Maulana\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JSON web service with Java and Axis2 - Java Code Geeks","description":"I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing","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\/2012\/02\/json-web-service-with-java-and-axis2.html","og_locale":"en_US","og_type":"article","og_title":"JSON web service with Java and Axis2 - Java Code Geeks","og_description":"I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing","og_url":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-02-13T16:05:00+00:00","article_modified_time":"2012-10-21T23:02:27+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":"Djaka Pribadi Maulana","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Djaka Pribadi Maulana","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html"},"author":{"name":"Djaka Pribadi Maulana","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/8f7b3cc598a8bfdb3d720ae4d108cef0"},"headline":"JSON web service with Java and Axis2","datePublished":"2012-02-13T16:05:00+00:00","dateModified":"2012-10-21T23:02:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html"},"wordCount":352,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","keywords":["Apache Axis2","JSON","Web Services"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html","url":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html","name":"JSON web service with Java and Axis2 - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/json-logo.jpg","datePublished":"2012-02-13T16:05:00+00:00","dateModified":"2012-10-21T23:02:27+00:00","description":"I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/json-web-service-with-java-and-axis2.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\/2012\/02\/json-web-service-with-java-and-axis2.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":"JSON web service with Java and Axis2"}]},{"@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\/8f7b3cc598a8bfdb3d720ae4d108cef0","name":"Djaka Pribadi Maulana","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ebc17add32e22a9186ce8316564f219552f7830c0e1167569e7a2e2a0eab8a03?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ebc17add32e22a9186ce8316564f219552f7830c0e1167569e7a2e2a0eab8a03?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ebc17add32e22a9186ce8316564f219552f7830c0e1167569e7a2e2a0eab8a03?s=96&d=mm&r=g","caption":"Djaka Pribadi Maulana"},"sameAs":["http:\/\/blog.djakapm.com\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/Djaka-Pribadi-Maulana"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/927","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\/137"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=927"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/927\/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=927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}