Versions Compared

Key

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

...

  • New UDP Transport.
  • New optional HTTP transport based on Apache HTTP Components HttpAsyncClient.
  • Support for the SOAP over UDP.
  • Ability to only apply schema validation to incoming or outgoing messages by setting the "schema-validation-enabled" property to "IN", "OUT", "BOTH", or "NONE". @SchemaValidationEnabled annotation updated to have a type=IN|OUT|BOTH|NONE parameter.
  • Support for WS-Discovery.
    • Services can send Hello/Bye when started/stopped as well as respond to Probe requests
    • API for sending probes and resolving to EndpointReferences
  • Initial support for parts of the JAX-RS 2.0 (JSR-339) specification
    • Additional methods on WebClient to provide asynchronous invocations
    • Support for new filters, interceptors, dynamic features, exception classes, and more, please see JAX-RS Basics for more information.

API Changes

  • The HTTPConduit class has been made abstract with the HttpURLConnection related code moving to an URLConnectionHTTPConduit. Several method calls of the HTTPConduit that used to take HttpURLConnection objects have been eliminated. Also, most methods taking a URL object now take a URI object instead. The HTTPConduit.WrappedOutputStream class is also now abstract. If you have custom subclasses of HTTPConduit, changing them to subclass URLConnectionHTTPConduit will likely work.

...

  • All methods that took or returned org.apache.cxf.feature.AbstractFeatures have been changed to just use org.apache.cxf.feature.Feature.
  • JAX-RS: 3 classes have been removed from the org.apache.cxf.jaxrs.client package: ResponseReader, ServerWebApplicationException, ClientWebApplicationException. The first class in the list is not needed with JAX-RS 2.0 Response class, the latter two are replaced by javax.ws.rs.WebClientException and javax.ws.rs.client.ClientException