Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • JAX-RS 2.0 has been completely implemented.
  • JAX-RS WADL auto-generation code has been moved to a new cxf-rt-rs-service-description module.
  • JAX-RS 2.0 Client API and CXF specific WebClient and Proxy client code is now available in a new cxf-rt-rs-client module. Important: the namespace for jaxrs:client elements has changed from "http://cxf.apache.org/jaxrs" to "http://cxf.apache.org/jaxrs-client"
  • CXF RequestHandler and ResponseHandler filters have been removed, please use JAX-RS 2.0 ContainerRequestFilter and ContainerResponseFilter and also WriterInterceptor and ReaderInterceptor when needed.
  • CXF JAX-RS Form extension has been dropped, please use JAX-RS 2.0 Form.
  • CXF JAX-RS ParameterHandler has been dropped, please use JAX-RS 2.0 ParamConverterProvider.
  • javax.annotation.Resource annotation can no longer be used to annotate JAX-RS context properties. Only javax.ws.rs.core.Context annotation is supported from now on.

JAX-WS/Soap

  • Add new code generator frontend to add CXF specific constructors and methods. (pass "-fe cxf" to wsdl2java)
  • Make AbstractFeature subclass WebServiceFeature and update the JAX-WS frontend to look for them.
  • "jaxb-validation-event-handler"s now apply for both Reading and Writing. (previously only applied to Reading). There are separate jaxb-(reader|writer)-validation-event-handler properties if you need it set for only one direction.
  • If the WSDL location that is passed into CXF is not valid, previous versions of CXF *MAY* ignore the error and proceed as if "null" was passed for the WSDL.   3.0 will now throw an exception.
  • ClientProxy.getClient(proxy) is no longer needed for most use cases.  The client proxy instances now implement the Client API directly.   A direct cast to Client should work.

...