caiwan / spring-cxf-example

An example project for a crontract-last SOAP Webservice application with Apache CXF and Spring integrated

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CXF Spring example

A boilerplate/skeleton application utilizing CXF and Spring Boot utilizing both contralctless and contract first approaches of webservice building. A webservice cli-like io.github.caiwan.example.client is also provided.

Features

  • Dynamic contralct-less skeleton webservice
  • Static contract first skeleton webservice
  • Static conteact first skeleton io.github.caiwan.example.client
  • Integration test for further validation
  • Contoller advice for exception handling like bben validation
  • Basic HTTP authentication set up with Spring Security for user authentication
  • Built on Maven infrastucture
  • Built with Java JDK 7 to support compatibility with older systems from Tomcat 7.0.42

Development stuff

  1. Download the package and compile it via
mvn compile
  1. To validate pom and run all the tests use Failsafe plugin to run all the integration tests
mvn validate test failsafe:integration-test
  1. To build a deployable package use
mvn package

About

An example project for a crontract-last SOAP Webservice application with Apache CXF and Spring integrated


Languages

Language:Java 99.2%Language:Shell 0.8%