| Apache CXF 2.7.1 Release Notes |
| |
| 1. Overview |
| |
| The 2.7.x versions of Apache CXF are significant new versions of CXF |
| that provides several new features and enhancements. |
| |
| New features include: |
| |
| * New UDP Transport. |
| * New optional HTTP transport based on Apache HTTP Components HttpAsyncClient. |
| * Support for the SOAP over UDP Specification. |
| * SchemaValidation enhancements to allow just incoming messages to be validated |
| * 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. |
| |
| Users are encourage to review the migration guide at: |
| http://cxf.apache.org/docs/27-migration-guide.html |
| for further information and requirements for upgrading to 2.7.x. |
| |
| In particular, Apache CXF no longer supports Java5. Users must upgrade to |
| Java 6 in order to upgrade to Apache CXF 2.7.x. |
| |
| |
| 2.7.1 fixes over 110 JIRA issues reported by users and the community. |
| |
| |
| |
| 2. Installation Prerequisites |
| |
| Before installing Apache CXF, make sure the following products, |
| with the specified versions, are installed on your system: |
| |
| * Java 6 Development Kit |
| * Apache Maven 2.2.1 or 3.x to build the samples |
| |
| |
| 3. Integrating CXF Into You Application |
| |
| If you use Maven to build your application, you need merely add |
| appropriate dependencies. See the pom.xml files in the samples. |
| |
| If you don't use Maven, you'll need to add one or more jars to your |
| classpath. The file lib/WHICH_JARS should help you decide which |
| jars you need. |
| |
| 4. Building the Samples |
| |
| Building the samples included in the binary distribution is easy. Change to |
| the samples directory and follow the build instructions in the README.txt file |
| included with each sample. |
| |
| 5. Reporting Problems |
| |
| If you have any problems or want to send feedback of any kind, please e-mail the |
| CXF dev list, dev@cxf.apache.org. You can also file issues in JIRA at: |
| |
| http://issues.apache.org/jira/browse/CXF |
| |
| 6. Migration notes: |
| |
| See the migration guide at: |
| http://cxf.apache.org/docs/27-migration-guide.html |
| for caveats when upgrading from CXF 2.6.x to 2.7.x. |
| |
| |
| 7. Specific issues, features, and improvements fixed in this version |
| |
| |
| ** Bug |
| * [CXF-3329] - idl2wsdl: attributes of structs with the same name as a type do not show up in XSD |
| * [CXF-3613] - Various problems with "java.lang.Class" |
| * [CXF-4301] - Problem with Implicit Soap Headers and @ResponseWrapper in methods with multiple response attributes: NullPointerException in ReflectionServiceFactoryBean or Response-Marshalling Error |
| * [CXF-4391] - org.apache.cxf.configuration.spring.ConfigurerImpl.initWildcardDefinitionMap does not fail silently when bean names containing certain characters do not parse as a regex |
| * [CXF-4482] - AttachmentSerializer puts an extra new line |
| * [CXF-4529] - PermGen Leak for CXFAuthenticator (WS Client Configuration) |
| * [CXF-4530] - Checkstyle 5.6 no longer supports the DoubleCheckedLocking |
| * [CXF-4546] - @XMLInstruction |
| * [CXF-4547] - java first externalAttachment wsdl enhancements |
| * [CXF-4550] - Wsdl2Java fails if tmp folder contains spaces |
| * [CXF-4551] - MTOM + SchemaValidation results in empty input stream from data handler |
| * [CXF-4552] - typical HTML form payload does not seem to work when HTML form is used |
| * [CXF-4554] - "http://schemas.xmlsoap.org/soap/http/" should not be in the SoapTransportFactory active namespaces list |
| * [CXF-4556] - JAX-RS SAML TLS HolderOfKey check does not work |
| * [CXF-4557] - More unclosed XMLStreamReader/Writer - CXF-4523 |
| * [CXF-4560] - Default JAX-RS SAML Claim namespace is incorrect |
| * [CXF-4562] - Soap Fault fields precedence is incorrect |
| * [CXF-4563] - Empty XML or JSON responses are not processed correctly on the client side |
| * [CXF-4564] - NPE in MavenToolErrorListener during wsdl2java code generation |
| * [CXF-4565] - The message flow is not correct when handler throw ProtocolException outbound |
| * [CXF-4566] - StaxTransformFeature outTransformElements does not work when converting namespaces |
| * [CXF-4567] - Couple error messages did not get moved to managers properties file |
| * [CXF-4569] - cxf-services-wsn-core doesn't support to be installed with other verion of CXF |
| * [CXF-4570] - Attachment Header Content-ID conversion |
| * [CXF-4571] - javax.ws.rs.WebApplicationException when creating jaxrs:server under OSGi Blueprint |
| * [CXF-4572] - GZIPOutInterceptor not negotiating first without compressing |
| * [CXF-4573] - WADL to Java generator loses the namespace info for types from imported schemas |
| * [CXF-4579] - Exchange's out message is not set for recovered outbound WS-RM messages |
| * [CXF-4580] - InjectionUtils can not handle boolean properties with getters starting from 'is' |
| * [CXF-4581] - cxf-codegen-plugin tries to generate code during m2e "configuration" build |
| * [CXF-4583] - When the logical handler return false processing the outbound message, the SoapMessage's body is always empty. |
| * [CXF-4584] - org.w3c.dom.DOMException when sending soap11 request and returning soap12 response |
| * [CXF-4587] - Signature Confirmation does not work with TransportBinding and EndorsingSupportingToken |
| * [CXF-4588] - cxf-codegen-plugin: Error resolving component |
| * [CXF-4591] - Fix @XmlTransient handling for exception types |
| * [CXF-4592] - Some tests fail when CachedOutputStream's file caching is enforced |
| * [CXF-4594] - Incompatible fault type is generated in the wsdl if no setter method in Exception |
| * [CXF-4595] - RequireClientCertificate is not validated |
| * [CXF-4598] - Error resolving inline schema references |
| * [CXF-4599] - Async HTTP may fail for large data due to a file caching issue |
| * [CXF-4601] - An invalid WS-RM message to a robust WS-RM endpoint may lead to NPE |
| * [CXF-4603] - Digital Signature using CXF 2.6.1 on Websphere 7 |
| * [CXF-4605] - SortedMap is not returned when another unrelated method exists in the interface |
| * [CXF-4606] - cxf-codegen-plugin doesn't works if Maven repository's path contain spaces |
| * [CXF-4608] - DOMSource is returned rather than StAXSource |
| * [CXF-4611] - Set jaxws.provider.interpretNullAsOneway as true by default |
| * [CXF-4612] - SAML assertion element is not imported into SecurityHeader document |
| * [CXF-4613] - Token URI is missing ampersands |
| * [CXF-4614] - Error using role, tokenService and ValidationService when initialize client AccessTokenValidation. |
| * [CXF-4616] - When creating DataContentHandler, defaultCommandMap should be considered. |
| * [CXF-4618] - DataSourceProvider is not closing inputstream acquired from DataSource |
| * [CXF-4620] - Exception at compilation when a 'space' character is present in maven local repository path |
| * [CXF-4623] - Marshalling Error during asynchronous service invocation when adding a soap header using a SOAPHandler |
| * [CXF-4629] - Security issue with GET methods: WSS4JInInterceptor always allows HTTP Get requests from browser |
| * [CXF-4630] - local part cannot be "null" when creating a QName |
| * [CXF-4631] - HttpUtils.toAbsoluteUri should use request.getServerPort() instead of request.getLocalPort() |
| * [CXF-4633] - Redirection based OAuth services need to return an error directly to the end user |
| * [CXF-4637] - Exception when validating access token on a resource server (OAuth2) |
| * [CXF-4640] - @PostConstruct methods invoked twice in Spring projects when using OSGi even with fix for CXF-3959 |
| * [CXF-4642] - CXF feature can not be installed on Karaf 3 as it requires jetty to be below version 8 |
| * [CXF-4643] - Initial non-GET request returns 404 if it has query parameters |
| * [CXF-4644] - shouldn't have dependency='true' for saaj-impl bundle |
| * [CXF-4645] - AsyncHTTPConduit does not re-use NTLM authenticated connections |
| * [CXF-4647] - A wrong soap action when using ws-addressing may lead to an empty response or the fault with the wrong action |
| * [CXF-4652] - Additional namespace is added when web service provider implements Provider<DOMSource> |
| * [CXF-4653] - CXF continuations portability issue |
| * [CXF-4659] - Policy configuration in spring cause SAXParseException if no internet connection available |
| * [CXF-4662] - Jaxb data binding jaxb.scanPackages does not support Boolean object |
| * [CXF-4665] - cxf-utils.js missing from release zip file |
| * [CXF-4666] - [OAuth2] securityContext problem on createSubject |
| * [CXF-4678] - ConcurrentModificationException from WS-RM's RMOutInterceptor's acknowledgement update code |
| * [CXF-4679] - STS onBehalfOf validation should throw exception for invalid tokens in issue operation |
| * [CXF-4681] - CXF karaf feature cannot pass the karaf feature validate |
| * [CXF-4683] - workqueue configuration in BP does not derive the id attribute from the name attribute |
| |
| |
| |
| ** Improvement |
| * [CXF-4461] - ClaimsHandler is called only if a requested claim is supported |
| * [CXF-4548] - Enable use of customized session provider in OAuth2 GrantService |
| * [CXF-4549] - Add retrieval of AccessToken to OAuth2 MessageContext |
| * [CXF-4555] - enable http:conduit to configure the chunk size |
| * [CXF-4558] - Relax the requirement for a child <wsp:Policy> element for a WS-SecurityPolicy HttpsToken policy |
| * [CXF-4561] - Allow disabling WSI-BSP compliance in UsernameTokenInterceptor |
| * [CXF-4568] - Adding OAuthContextUtils |
| * [CXF-4576] - Provide logs on policy attachment parsing errors |
| * [CXF-4578] - SearchConditionVisitor should be parameterized on the query type |
| * [CXF-4582] - Support XSLT scripts in CXF Transformation feature |
| * [CXF-4585] - Updated the cxf imports version range of sts-core bundle |
| * [CXF-4590] - STSUtils: DRY refactoring and support Soap12 via property |
| * [CXF-4593] - STSClient: support different SOAP bindings for MEX call |
| * [CXF-4596] - Adding an option to encrypt tmp files generated by CachedOutputStream |
| * [CXF-4602] - getL7dLogger improvements |
| * [CXF-4607] - RequestDispatcherProvider should be able to use enum classes better |
| * [CXF-4619] - cxf:list-endpoints - Duplicate headers if multiple endpoints installed |
| * [CXF-4622] - cxf:list-endpoints - Add option to list the full url of the service |
| * [CXF-4628] - Only use default AttributeStatementProvider in STS if no Claims were handled |
| * [CXF-4638] - Add ability to set STSClient Claims via a CallbackHandler |
| * [CXF-4639] - Add ability to send an existing SAML Token via the JAX-RS SAML code |
| * [CXF-4641] - Make it simpler to convert FIQL expressions to custom expressions in the application code |
| * [CXF-4646] - Use AlgorithmSuite functionality in WSS4J 1.6.8 |
| * [CXF-4654] - cxf:list-buses - Table layout should be aligned if bus name is long |
| * [CXF-4655] - Enforce SAML SubjectConfirmation requirements for the non WS-SecurityPolicy case |
| * [CXF-4656] - [OAuth 2] Add attributes property to UserSubject object |
| * [CXF-4657] - Add XACML functionality to CXF runtime |
| * [CXF-4660] - Support list parameters at CXFNonSpringJaxrsServlet |
| * [CXF-4661] - Make CachedOutputStream configurable using the Bus properties |
| * [CXF-4664] - Support primary and secondary Claims in the STS |
| * [CXF-4669] - [OAuth2] Return expires_in with token in ImplicitGrantService |
| * [CXF-4670] - [OAuth2] Add tokenLife property to org.apache.cxf.rs.security.oauth2.common.Client |
| * [CXF-4672] - Extra class property is not used when JAXB package contexts are created |
| * [CXF-4673] - [OAuth2] Add requestedScope as a parameter to getPreauthorizedToken |
| * [CXF-4674] - Early consume publishedEndpointUrl property |
| * [CXF-4675] - Move createUserSubject from RedirectionBasedGrantService to the OAuthDataProvider |
| * [CXF-4677] - Introduce "autoRewriteSoapAddressForAllServices" property to overwrite all service endpoints in returning WSDL |
| |
| ** New Feature |
| * [CXF-4610] - Provide support for enabling / disabling Schema Validation at the Operation level |
| |
| ** Task |
| * [CXF-4632] - upgrade to aries 1.0.0 |
| * [CXF-4648] - Update wadl-to-java code generator to add AsyncResponse parameters to selected methods |
| * [CXF-4667] - Provide FIQL to LDAP query visitor |
| * [CXF-4682] - Upgrade Karaf version to 2.2.9 |
| |
| |
| |
| |
| |
| |
| |