Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [CXF-7364] Example projects links should point to Git instead of SVN

...

The following tables provide information about a subset of the sample example projects provided by Apache CXF in the standard distributions.

...

Example Name

Example Description

Example Location

Java First using JAX-WS APIs

Sample illustrates how to develop a service using the "code first" approach with the JAX-WS APIs.

java_first_jaxws

Java First demo service using the JAXWSFactoryBeans

Sample illustrates how to develop a service using the JAXWSFactoryBeans. It also makes use of LoggingInterceptors. The sample takes the "code first" approach using JAX-WS APIs.

java_first_jaxws_factory_bean

Java First POJO Sample

Sample illustrates how to develop a service that is "code first", POJO-based. This sample uses the JAXB Data binding by default, but you can use Aegis Data binding by removing a few lines detailed in the README.txt file.

java_first_pojo

Spring HTTP Sample

Sample will lead you through creating your first service with Spring. You'll learn how to write a simple JAX-WS "code-first" service, set up the HTTP Servlet transport and use CXF's Spring beans.

java_first_spring_support

JAX-WS Asynchronous Demo using Document/Literal Style

Sample using Document/Literal Style sample illustrates the use of the JAX-WS asynchronous invocation model.

jaxws_async

JAX-WS Dispatch/Provider Demo

Sample demonstrates the use of JAX-WS Dispatch and Provider interface.

jaxws_dispatch_provider

JAX-WS Handler Demo

Sample shows how JAX-WS handlers are used. The server uses a SOAP protocol handler which logs incoming and outgoing messages to the console.

jax_ws_handlers

RESTful Hello World Demo

Sample shows REST based Web Services using the JAX-WS Provider/Dispatch.

restful_dispatch

...

Example Name

Example Description

Example Location

WSDL First

Sample shows how to build and call a web service using a given WSDL (also called Contract First).

wsdl_first

CXF Dynamic Client Sample

Sample illustrates the use of the CXF dynamic client against a standalone server using SOAP 1.1 over HTTP.

wsdl_first_dynamic_client

WSDL first demo using HTTPS

Sample takes the hello world sample a step further by doing the communication using HTTPS.

wsdl_first_https

WSDL first demo using BARE Style in XML Binding (pure XML over HTTP)

Sample illustrates the use of Apache CXF's xml binding. This specific sample shows you how xml binding works with the doc-lit bare style.

wsdl_first_pure_xml

WSDL first demo using RPC-Literal Style

Sample demonstrates the use of the hello world sample with RPC-Literal style binding.

wsdl_first_rpclit

WSDL first demo using SOAP12 in Document/Literal Style

Sample shows the use of Apache CXF's SOAP 1.2 capabilities.

wsdl_first_soap12

CXF sample using WRAPPED Style in XML Binding (pure XML over HTTP)

Sample illustrates the use of Apache CXF's xml binding. This specific sample shows you how xml binding works with the doc-lit wrapped style.

wsdl_first_xml_wrapped

JAX-RS

...

Examples

Sample Example Name

Sample Example Description

Sample Example Location

JAX-RS sample collection

More then 20 JAX-RS examples

 

 

jax_rs

RESTful HTTP Binding Demo

Sample shows how to create RESTful services using CXF's HTTP binding. The server in the sample creates 3 different endpoints: a RESTful XML endpoint, a RESTful JSON endpoint, and a SOAP endpoint.

restful_http_binding

...