Apache CXF

Apache CXF is an open source services framework. CXF helps to build and develop services using front end programming APIs like JAX-WS and JAX-RS. These services can speak a variety of protocols such as SOAP, XML/HTTP or RESTful HTTP and work over a variety of transports such as HTTP or JMS.

The below links provide many step-by-step examples on how to use the Apache CXF API.

Quick Start

A number of quick start examples for CXF:

CXF - SOAP Web Service Consumer & Provider WSDL Example
A detailed step-by-step tutorial on how to implement a Hello World web service starting from a WSDL and using Apache CXF and Spring Boot.

Logging

A number of CXF logging tutorials:

CXF logging SOAP messages using Logback
A code sample which shows how to configure CXF to log the request and response SOAP messages using Logback.
CXF logging SOAP messages using Log4j2
A code sample which shows how to configure CXF to log the request and response SOAP messages using Log4j2.
CXF logging SOAP messages using Log4j
A code sample which shows how to configure CXF to log the request and response SOAP messages using Log4j.

References

Some useful references when studying CXF:

Leave a Comment