What is Apache CXF?
Apache CXF is made by Apache Software Foundation. Open-source Java framework for building and consuming SOAP and RESTful services, including JAX-RS client support, proxy-based and HTTP-centric client APIs, WSDL-based client generation, asynchronous invocation options, and configurable HTTP transports and security.
What Apache CXF does
Open-source Java framework for building and consuming SOAP and RESTful services, including JAX-RS client support, proxy-based and HTTP-centric client APIs, WSDL-based client generation, asynchronous invocation options, and configurable HTTP transports and security.
- JAX-RS client support (JAX-RS 2.0 Client API) with ClientBuilder/WebTarget/Invocation.Builder patterns
- Proxy-based REST client creation via JAXRSClientFactory (reuse JAX-RS annotated interfaces/classes as remote proxies)
- HTTP-centric REST client via WebClient with fluent path/header/media-type configuration and typed entity handling
- Asynchronous REST client invocations (AsyncInvoker / InvocationCallback / Future support) and async proxy invocations
- Configurable client creation/injection via Spring (jaxrs:client), plus runtime client/conduit configuration APIs
- Multiple HTTP client transport options including default JDK-based transport and Apache HttpComponents-based async transport modules
- SOAP client options including WSDL2Java-generated clients, JAX-WS proxy clients, JAX-WS Dispatch API usage, and dynamic client invocation
Category: Application Platforms. Apache CXF is open source and free to use.
What teams use it for
- Build Java REST clients using either the standard JAX-RS 2.x Client API or CXF WebClient/proxy-based APIs
- Generate and use strongly-typed SOAP clients from WSDL (wsdl2java) or create JAX-WS proxies/dispatch-based clients
- Perform asynchronous HTTP/REST invocations at scale using non-blocking HTTP transports (e.g., Apache HttpComponents-based)
- Configure HTTP client behavior (timeouts, chunking, proxies, authentication) and TLS settings for service consumption
- Apply message-level security to SOAP interactions using WS-Security (via WSS4J) when consuming secured services
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does Apache CXF do?
Open-source Java framework for building and consuming SOAP and RESTful services, including JAX-RS client support, proxy-based and HTTP-centric client APIs, WSDL-based client generation, asynchronous invocation options, and configurable HTTP transports and security.
How common is Apache CXF in large enterprises?
Samplify finds Apache CXF in about 1 in 10 of the large enterprise software estates it has analysed.
Is Apache CXF free?
Apache CXF is open source and free to use.
What can replace Apache CXF?
Other tools in the same category include Python, Apache HTTP Server, Apache Tomcat, .NET Framework SDK.
Do we already own something that does what Apache CXF does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Apache Software Foundation.