{"id":12518,"date":"2013-05-09T01:00:57","date_gmt":"2013-05-08T22:00:57","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=12518"},"modified":"2013-05-08T19:35:07","modified_gmt":"2013-05-08T16:35:07","slug":"apache-cxf-jax-ws-simple-tutorial","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html","title":{"rendered":"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial"},"content":{"rendered":"<p>A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a lot of \u00a0complexity in development and design over the years of enterprise application development.\u00a0For some though, learning it is somehow the next step in building a full blown enterprise application \u2013 Web Services \u2013 is one of the key schemes for implementing service oriented design \u2013 almost every platform available has support to the scheme, and that of course includes Java\/J2EE.<\/p>\n<p>In this tutorial, I will show how you will using Apache CXF to create \u00a0Web Servies using JAX-WS and the Apache CXF API to call specific service from a remote application.<br \/>\n&nbsp;<\/p>\n<ol>\n<li>Building the Web Service Application : Server Side \u00a0&#8211; We need to build the application as well as the Web Services implementation code. This will be a generic WAR (Web Archive) that will house the actual implementation<\/li>\n<li>Building the Web Service Application: Client Side \u2013 Of course, we need to provide external clients a way for them to access the services \u2013 we will create a stub and give them out to clients for them to use the services.<\/li>\n<\/ol>\n<p>FYI: I\u2019m using Maven to simplify library definitions.<\/p>\n<h2>1st we create the Stub<\/h2>\n<p>this houses the interface and entities (Pojos) used to access the service. When you design your service \u2013 you usually create the class interfaces (reference) first and put it on another JAR file for re-distribution.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2013\/05\/stub_1.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2013\/05\/stub_1.jpeg?w=600&amp;h=187\" width=\"600\" height=\"187\" \/><\/a><\/p>\n<h2>2nd lets build the service.<\/h2>\n<p>We will be hosting the service from a Web Archive deployed to an application server.<\/p>\n<p><strong>POM. xml<\/strong> &#8211; We will be using Spring CDI and CXF \u2013 Might as well load up all the libraries needed.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_1.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_1.jpeg?w=600\" width=\"579\" height=\"203\" \/><\/a><\/p>\n<p>We include the stub on the server as this will act as the reference of our implementation:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_2.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_2.jpeg?w=600\" width=\"370\" height=\"74\" \/><\/a><\/p>\n<p>We now create the Service Implementation:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_3.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_3.jpeg?w=600&amp;h=165\" width=\"600\" height=\"165\" \/><\/a><\/p>\n<p>cxf-servlet (or beans.xml) \u2013 this is where we will call the factory that will publish the WSDL upon loading the context.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_4.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_4.jpeg?w=600&amp;h=186\" width=\"600\" height=\"186\" \/><\/a><\/p>\n<p>web.xml \u2013 we need to make sure that web service request will go thru CXF \u2013 since we are using its framework. Good thing about CXF is it does all the necessary binding, marshalling, unmarshalling as well as injecting the in \/ out interceptors.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_5.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_5.jpeg?w=600&amp;h=218\" width=\"600\" height=\"218\" \/><\/a><\/p>\n<p>Build and Deploy the WAR! \u2013 After deploying the war, view the context page. You should be seeing something like this:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_61.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/server_61.jpeg?w=600&amp;h=115\" width=\"600\" height=\"115\" \/><\/a><\/p>\n<p>If you manage to view the above URL \u2013 then you have\u00a0successfully\u00a0expose your service and can now be called by external clients<\/p>\n<h2>3rd we create the client app.<\/h2>\n<p>Now we create a standalone Java app to call the service \u2013 we will be using Spring again to context load client beans and we need include the stub so that we can have reference to the implementation.<\/p>\n<p>beans.xml \u2013 create the xml and call the proxy factory bean to create the instance on runtime<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/client_1.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/client_1.jpeg?w=600&amp;h=293\" width=\"600\" height=\"293\" \/><\/a><\/p>\n<p>Create the Client \u2013 We will now call the bean and use the reference to call the method.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/client_2.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/client_2.jpeg?w=600&amp;h=235\" width=\"600\" height=\"235\" \/><\/a><\/p>\n<h2>4th Test! \u2013 Test your service!<\/h2>\n<p>You should now be able call the Service implementation!<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/client_3.jpeg\"><img decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/alvinjayreyes.files.wordpress.com\/2013\/05\/client_3.jpeg?w=600&amp;h=138\" width=\"600\" height=\"138\" \/><\/a><\/p>\n<p>Download the example <a href=\"https:\/\/dl.dropboxusercontent.com\/u\/1737239\/SampleWSCxf.zip\">here<\/a><\/p>\n<p>With this simple example, its really a conclusive proof that creating Web Service now is just a breeze \u2013 We took advantage of Apache CXF as a service framework to simplify the development and Springs powerful CDI that almost took care the rest.<\/p>\n<p>&nbsp;<\/p>\n<div style=\"border: 1px solid #D8D8D8; background: #FAFAFA; width: 100%; padding-left: 5px;\"><b><i>Reference: <\/i><\/b><a href=\"http:\/\/alvinjayreyes.com\/2013\/05\/05\/apache-cxf-jax-ws-simple-tutorial\/\">Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/jcg\">JCG partner<\/a> Alvin Reyes at the <a href=\"http:\/\/alvinjayreyes.com\/\">Alvin &#8220;Jay&#8221; Reyes Blog<\/a> blog.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a lot of \u00a0complexity in development and design over the years of enterprise application development.\u00a0For some though, learning it is somehow the next step in building a full blown enterprise &hellip;<\/p>\n","protected":false},"author":197,"featured_media":148,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[171,105,106],"class_list":["post-12518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-apache-cxf","tag-jax-ws","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>Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial<\/title>\n<meta name=\"description\" content=\"A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a\" \/>\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\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial\" \/>\n<meta property=\"og:description\" content=\"A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.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=\"2013-05-08T22:00:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-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=\"Alvin Reyes\" \/>\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=\"Alvin Reyes\" \/>\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\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html\"},\"author\":{\"name\":\"Alvin Reyes\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/ac48ce50b2e5027d82ecbe2fa9b455a9\"},\"headline\":\"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial\",\"datePublished\":\"2013-05-08T22:00:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html\"},\"wordCount\":573,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"keywords\":[\"Apache CXF\",\"JAX-WS\",\"Web Services\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html\",\"name\":\"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"datePublished\":\"2013-05-08T22:00:57+00:00\",\"description\":\"A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/05\\\/apache-cxf-jax-ws-simple-tutorial.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\":\"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial\"}]},{\"@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\\\/ac48ce50b2e5027d82ecbe2fa9b455a9\",\"name\":\"Alvin Reyes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g\",\"caption\":\"Alvin Reyes\"},\"sameAs\":[\"http:\\\/\\\/alvinjayreyes.com\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Alvin-Reyes\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial","description":"A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a","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\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html","og_locale":"en_US","og_type":"article","og_title":"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial","og_description":"A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a","og_url":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2013-05-08T22:00:57+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","type":"image\/jpeg"}],"author":"Alvin Reyes","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Alvin Reyes","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html"},"author":{"name":"Alvin Reyes","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/ac48ce50b2e5027d82ecbe2fa9b455a9"},"headline":"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial","datePublished":"2013-05-08T22:00:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html"},"wordCount":573,"commentCount":5,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","keywords":["Apache CXF","JAX-WS","Web Services"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html","url":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html","name":"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","datePublished":"2013-05-08T22:00:57+00:00","description":"A lot of Java Developers out there sees task with Web Service implementation daunting \u2013 well, nobody can blame them really, especially that it brings a","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2013\/05\/apache-cxf-jax-ws-simple-tutorial.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":"Apache CXF \u2013 JAX-WS \u2013 Simple Tutorial"}]},{"@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\/ac48ce50b2e5027d82ecbe2fa9b455a9","name":"Alvin Reyes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g","caption":"Alvin Reyes"},"sameAs":["http:\/\/alvinjayreyes.com\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/Alvin-Reyes"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/12518","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\/197"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=12518"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/12518\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/148"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=12518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=12518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=12518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}