Project: talendesb
Issue TESB-6871: examples/talend/cxf/jaxrs-jaxws-transformations jaxws client fails under java 7
examples/talend/cxf/jaxrs-jaxws-transformations has a problem with java 7. Reproduced under Windows 7 jdk 1.7.0_05 and Macos 10.6 jdk 1.7.0_08. After deploying the server component of the example in karaf, karaf may run under jdk 1.6 or 1.7: features:addurl mvn:org.talend.cxf-examples/osgi/1.0/xml/features karaf@trun> features:install war karaf@trun> features:install talend-cxf-example-jaxrs-jaxws-transformations execution of the client under jdk 1.7: mvn -Pjaxws -Dhttp.port=8040 causes the following exception: Aug 23, 2012 10:30:42 AM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL INFO: Creating Service {http://customerservice.example.com/}CustomerServiceService from WSDL: file:/Users/dwolz/git/TESB_SE-V5.2.0-SNAPSHOT/examples/talend/cxf/jaxrs-jaxws-transformations/client/target/classes/CustomerService.wsdl Using old SOAP CustomerService with new client [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.766s [INFO] Finished at: Thu Aug 23 10:30:42 CEST 2012 [INFO] Final Memory: 21M/136M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default) on project jaxrs-jaxws-transformations-client: An exception occured while executing the Java class. null: InvocationTargetException: Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'customerId'. One of '{"http://customer/v1":customerId}' is expected. -> [Help 1]
Story points: 1