{"id":16179208,"url":"https://github.com/jonashackt/tutorial-soap-spring-boot-cxf","last_synced_at":"2025-04-09T15:04:52.993Z","repository":{"id":3837979,"uuid":"49704267","full_name":"jonashackt/tutorial-soap-spring-boot-cxf","owner":"jonashackt","description":"Tutorial how to create, test, deploy, monitor SOAP-Webservices using Spring Boot and Apache CXF","archived":false,"fork":false,"pushed_at":"2022-05-04T10:01:35.000Z","size":103,"stargazers_count":193,"open_issues_count":0,"forks_count":122,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-09T15:04:48.634Z","etag":null,"topics":["apache-cxf","cxf","integration-testing","jax-ws","spring-boot","spring-boot-starter","wsdl"],"latest_commit_sha":null,"homepage":"https://blog.codecentric.de/en/2016/02/spring-boot-apache-cxf/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonashackt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-15T07:41:06.000Z","updated_at":"2025-01-08T16:20:46.000Z","dependencies_parsed_at":"2022-08-08T09:00:04.676Z","dependency_job_id":null,"html_url":"https://github.com/jonashackt/tutorial-soap-spring-boot-cxf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Ftutorial-soap-spring-boot-cxf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Ftutorial-soap-spring-boot-cxf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Ftutorial-soap-spring-boot-cxf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Ftutorial-soap-spring-boot-cxf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonashackt","download_url":"https://codeload.github.com/jonashackt/tutorial-soap-spring-boot-cxf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-cxf","cxf","integration-testing","jax-ws","spring-boot","spring-boot-starter","wsdl"],"created_at":"2024-10-10T05:25:59.100Z","updated_at":"2025-04-09T15:04:52.966Z","avatar_url":"https://github.com/jonashackt.png","language":"Java","readme":"# tutorial-soap-spring-boot-cxf\nTutorial how to create, test, deploy, monitor SOAP-Webservices using [Spring Boot](http://projects.spring.io/spring-boot/), [Apache CXF](https://cxf.apache.org/) and [JAX-WS](https://de.wikipedia.org/wiki/Java_API_for_XML_Web_Services)\n\nEvery following step builds upon the preceding one. So if you start e.g. with step 3, you´ll have all of step 1 \u0026 2 covered in the code.\n\n### The Steps 1-3: published accompanying the blog-posts: [Spring Boot \u0026 Apache CXF – How to SOAP in 2016](https://blog.codecentric.de/en/2016/02/spring-boot-apache-cxf/) (or german version: [Spring Boot \u0026 Apache CXF – SOAP ohne XML?](https://blog.codecentric.de/2016/02/spring-boot-apache-cxf/) )\n\n[step1_simple_springboot_app_with_cxf](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step1_simple_springboot_app_with_cxf)\n\nShows you, how to set up a simple Spring Boot Application and bootstrap a runnable CXF-Framework within the embedded Tomcat.\n\n[step2_wsdl_2_java_maven](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step2_wsdl_2_java_maven)\n\nInherits a completely altered example WebService-Definition as WSDL inspired from the popular http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL\n\nShows, how to generate JAXB-Classes from WSDL with JAX-WS Commons Maven plugin at build time - just run\n```\nmvn clean generate-sources\n```\n\n[step3_jaxws-endpoint-cxf-spring-boot](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step3_jaxws-endpoint-cxf-spring-boot)\n\nFirst running SOAP-Endpoint with SpringBoot, CXF and JAX-WS. For testing use [SoapUI](https://www.soapui.org/) (Testing our Service inside a Unittest will be part of a further Step).\n\n[step3_jaxws-endpoint-cxf-spring-boot-orig-wsdl](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step3_jaxws-endpoint-cxf-spring-boot-orig-wsdl)\n\nFull-Contract-First with using the generated JAX-WS Service-Class to not wrap WSDL and use original one - includes correct URL and TargetNamespace (recommended)\n\n### The Steps 4: published accompanying the blog-posts: [Spring Boot \u0026 Apache CXF – Testing SOAP Web Services](https://blog.codecentric.de/en/2016/06/spring-boot-apache-cxf-testing-soap-webservices/) (or german version: [Spring Boot \u0026 Apache CXF – SOAP-Webservices testen](https://blog.codecentric.de/2016/06/spring-boot-apache-cxf-soap-webservices-testen/) )\n\n[step4_test](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step4_test)\n\nUnit-, Integration- and Single-System-Integration-Tests with Spring (Boot) and Apache CXF\n\n\n### The Steps 5: published accompanying the blog-posts: [Spring Boot \u0026 Apache CXF – XML validation and custom SOAP faults](https://blog.codecentric.de/en/2016/06/spring-boot-apache-cxf-xml-validation-custom-soap-faults/) (or german version: [Spring Boot \u0026 Apache CXF – XML-Validierung und Custom SOAP Faults](https://blog.codecentric.de/2016/06/spring-boot-apache-cxf-xml-validierung-custom-soap-faults/) )\n\n[step5_custom-soap-fault](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step5_custom-soap-fault)\n\nCustom SOAP faults after XML schema validation, that are valid against an XSD itself and will be fired, regardles what will enter your endpoint :)\n\n### The Steps 6-9: published accompanying the blog-posts: [Spring Boot \u0026 Apache CXF – Logging \u0026 Monitoring with Logback, Elasticsearch, Logstash \u0026 Kibana](https://blog.codecentric.de/en/2016/07/spring-boot-apache-cxf-logging-monitoring-logback-elasticsearch-logstash-kibana/) (or german version: [Spring Boot \u0026 Apache CXF – Logging \u0026 Monitoring mit Logback, Elasticsearch, Logstash \u0026 Kibana](https://blog.codecentric.de/2016/07/spring-boot-apache-cxf-logging-monitoring-logback-elasticsearch-logstash-kibana/) )\n\n[step6_soap_message_logging](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step6_soap_message_logging)\n\nHow to configure SOAP message logging on Apache CXF endpoints\n\n\n[step7_soap_message_logging_payload_only](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step7_soap_message_logging_payload_only)\n\nTailor Apache CXF´s SOAP message log statements\u003c\n\n\n[step8_logging_into_elasticstack](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step8_logging_into_elasticstack)\n\nElasticsearch, Logstash, Kibana - How to log SOAP messages in 2016, including:\n\n* Configuring the logstash-logback-encoder\n\n[step9_soap_message_logging_into_custom_elasticsearch_field](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step9_soap_message_logging_into_custom_elasticsearch_field)\n\n* Logging SOAP messages into their own Elasticsearch fields\n* Correlating all Log-Events concerning a specific SOAP request\n\n\n### The Steps 10: published accompanying the blog-posts: [Spring Boot \u0026 Apache CXF – SOAP on steroids fueled by cxf-spring-boot-starter](https://blog.codecentric.de/en/2016/10/spring-boot-apache-cxf-spring-boot-starter/) (or german version: [Spring Boot \u0026 Apache CXF – Von 0 auf SOAP mit dem cxf-spring-boot-starter](https://blog.codecentric.de/2016/10/spring-boot-apache-cxf-spring-boot-starter/) )\n\n[step10_simple_app_with_cxf-spring-boot-starter](https://github.com/jonashackt/tutorial-soap-spring-boot-cxf/tree/master/step10_simple_app_with_cxf-spring-boot-starter)\n\n* Showing, how to quickly use every possible solution of all previous steps with the [cxf-spring-boot-starter](https://github.com/codecentric/cxf-spring-boot-starter)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashackt%2Ftutorial-soap-spring-boot-cxf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonashackt%2Ftutorial-soap-spring-boot-cxf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashackt%2Ftutorial-soap-spring-boot-cxf/lists"}