Apache CXF 2.1.4 Release Notes 1. Overview Apache CXF 2.1.4 delivers the latest set of patches and bug fixes for Apache CXF. This release fixes 88 JIRA issues that have been reported by users. 2. Installation Prerequisites Before installing Apache CXF, make sure the following products, with the specified versions, are installed on your system: * Java 5 Development Kit * Apache ant 1.6 2.1 Java 5 Development Kit You must install the J2SE Development Kit (JDK) 5.0, which can be downloaded from: http://java.sun.com/j2se/1.5.0/download.jsp After installing the JDK, set or modify the following environment variables: * JAVA_HOME -- set this environment variable to point at the root directory of the JDK 5.0 installation. * PATH -- make sure that your PATH includes: %JAVA_HOME%\bin (Windows) $JAVA_HOME/bin (UNIX) 2.2 Apache Ant 1.6.5 (or newer, 1.7.0 should work as well) To run samples included in the binary distribution of Apache CXF, you must install the Apache Ant 1.6.5 build utility, which can be downloaded from: http://ant.apache.org/bindownload.cgi After installing Apache Ant, add the /bin directory to your PATH. For more details, see the Installation Guide. 3. 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. 4. Errata 4.1 WS-Security The WS-Security configuration mechanisms may change between this release and the next one as we add in support for WS-SecurityPolicy and WS-Trust. 5. Reporting Problems If you have any problems or want to send feedback of any kind, please e-mail the cxf dev list, cxf-dev@incubator.apache.org. You can also file issues in JIRA at: http://issues.apache.org/jira/browse/CXF 6. JAX-RS/JSR-311 2.1.2 upgrades the JAX-RS/JSR-311 support level to 0.8 from 0.6. This may cause existing JAX-RS applications to fail. JAX-RS/JSR-311 is a work in progress and as the specification changes, we'll be updating the implementation to keep track with the specification. 7. Specific issues, features, and improvements fixed in this version Release Notes - CXF - Version 2.1.4 Bug [CXF-1140] - wsdl2java failed if the schema import use the relative path to a url [CXF-1673] - Unnecessary dependencies [CXF-1749] - Quick Fix for JMS Encoding issue [CXF-1757] - Javascript client not working on IE-6 [CXF-1762] - The JAXRS mapping of Java methods without method parameter not working. [CXF-1798] - DynamicClientFactory does not work when called through Ant [CXF-1820] - CXF does not work with hex-encoded request parameters [CXF-1844] - Add support for byte and Byte [CXF-1847] - AttachmentDeserializer cannot handle attachments with Quoted Printable content transfer encoding [CXF-1859] - mtom-enabled property case sensitive [CXF-1872] - JCA inbound connector ignores jaxws-endpoint bean configuration [CXF-1882] - JAX-RS can't unmarshall request body if the corresponding parameter is annotated with non-JAX-RS annotation [CXF-1889] - WS-RM: Cleanup of candidate list in RetransmissionQueueImpl [CXF-1890] - Aegis serializes enums with toString instead of name [CXF-1895] - Invalid character set UTF-8; action= urn:ihe:iti:2007:RetrieveDocumentSet in request in Contet-type [CXF-1898] - cxf bundle should optionally depend on J2EE Connector API [CXF-1900] - Invalid ContentId Encode [CXF-1903] - Maven Codegen Plugin Fails For CXF WSDL [CXF-1905] - WSDL2Java can't handle JAXB-bindings with split WSDLs [CXF-1909] - JMS Transport does not work with JMS 1.0.2 provider [CXF-1915] - W3CDOMStreamReader returns wrong type in moveToChild() [CXF-1920] - Oracle WSDL files contain ESB port entry that causes connection failures [CXF-1923] - Message "SOAPBinding can not on method with RPC style" ? [CXF-1924] - Infinite loop in FileUtils.getDefaultTempDir() when "java.io.tmpdir" directory does not exist [CXF-1925] - Problem with servelt mappin on 2.2-SNAPSHOT [CXF-1927] - Misleading phase for java2ws goal in Maven Integration and Plugin article. [CXF-1930] - JAX-WS + JAXB does not honor the service factory isAnonymousWrapperTypes() flag [CXF-1931] - Can't include the inside the [CXF-1935] - enableAsyncMapping doesn't work outside of wsdl:operation [CXF-1936] - Async methods are bound when not using wsdl on client side [CXF-1937] - certs out of date in jax_rs/basic_https sample [CXF-1943] - jms transport doesn't support to inject jmsconfig to JmsDestination [CXF-1945] - NullPointerException in W3CDOMStreamReader [CXF-1947] - Incorrect deserialization of null values in Map [CXF-1948] - Interface is not visible when CXF does not have visiblility to domain classes. [CXF-1955] - WHICH_JARS text file does not mention commons-collections.jar [CXF-1961] - Intent map exception when running the greeter demo client [CXF-1963] - W3CDOMStreamReader can't read text in the root element. [CXF-1969] - wsdl2java - NPE when wsdl has a missing attribute [CXF-1973] - Dynamic Client Factory classes should take URL objects as well as Strings [CXF-1974] - Missing names in sample POMs [CXF-1976] - WebApplicationException not thrown when injection of fields with *Param annotations fail [CXF-1979] - wsdl2java fails to generate working client code if web service name or serviceName is "Service" [CXF-1980] - XML Validation in offline fails due to missing cxf-beans.xsd in distro [CXF-1981] - Inconsistent use of logger delegation via LogUtils [CXF-1982] - Sub-resource locator fails on subtyping [CXF-1990] - 3 CTS tests, invokeAsyncTest(for pojo, ejb and servlet) fail [CXF-1991] - Incomplete implementations of UriInfo and UriBuilder [CXF-1992] - cxf tools should honor "java.home" property to search javac for compiling generated java beans. [CXF-2000] - ReadHeadersInterceptor ignoring DataBinding when creating SoapHeader [CXF-2001] - java2ws plugin generating exception beans when they already exist in classpath [CXF-2005] - Missing type in generated WSDL part definition when using int[] arrays with RPC/Literal encoding [CXF-2007] - JAXBSource can't be used as Source from a JAX-WS Provider interface [CXF-2011] - Asynchronous client behaves improperly [CXF-2020] - Code generated from SwA/Mime binding when NOT using the enableMIMEContent customization throws exceptions at runtime Improvement [CXF-923] - wsdl2java error message improvement [CXF-1819] - Make PhaseInterceptorChain.unwind() more defensive wrt handleFault() exceptions [CXF-1835] - Use Jetty Continuations to implement asynchronous HTTP processing [CXF-1887] - add ability to modify log of response before logging in LoggingOutInterceptor [CXF-1910] - JBI binding should honor aegis databinding [CXF-1916] - Mtom Performance - MimeBodyPartInputStream performs slow [CXF-1918] - AttachmentUtil creates randomUUID for each attachment [CXF-1922] - Improve DynamicClientFactory: make compileJavaSrc() non static and protected [CXF-1926] - The transportId should be available on org.apache.cxf.jaxws.JaxWsProxyFactoryBean [CXF-1928] - "@Produces", "@Consumes" in JSONProvider [CXF-1938] - Enhance JMSConfigFeature documentation to also describe its use when configuring a server [CXF-1946] - Changed the jms client received timeout value from 2 second to 60 second [CXF-1952] - Remove NodeLists from souirce as they are thread unsafe. [CXF-1957] - Add official support for Axis2 saaj implementation [CXF-1958] - JAXRS Endpoint should be aware of bus which exits in the application context [CXF-1964] - Add ability to inject WSS4J Processor objects into the WSS4JInInterceptor [CXF-1968] - Add API in Client interface to allow passing Exchange in the invoke method [CXF-1978] - Spring-based JMS Conduit should support using a shared permanent reply queue for several instances [CXF-1989] - ClientImpl to leave inputstream in the message at caller's request [CXF-1993] - Adding namespaces to the soap envelope [CXF-1998] - WSDL2JavaMojo should declare phase=generate-sources [CXF-2012] - Implement HTTP digest auth [CXF-2018] - JMS transport should transparently wrap the ConnectionFactory in a SingleConnectionFactory New Feature [CXF-180] - JMS Transport support for transaction [CXF-1599] - URIResolver can't be replaced eazy [CXF-1912] - Implement asynchronous support for JMS transport in CXF Server [CXF-1962] - Create directory if does not exist for WSDL to javascript Test [CXF-2004] - unit test errors in systest [CXF-2019] - Test failure in systest http ClientServerSessionTest.testPublishOnBusyPort Wish [CXF-1327] - Logging Interceptor with pretty formatting [CXF-1394] - Maven2 for build [CXF-1921] - Class org.apache.cxf.jaxb.JAXBDataBinding is final [CXF-1971] - adding documenation to for DynamicClientFactory