-
1. Re: JBoss EAP 5.1 - CXF 2.3.1 Client Implementation Issue
boers001 Sep 12, 2012 4:35 AM (in response to limacon)1 of 1 people found this helpfulHi Rodel,
We currently also using cxf version 2.3.1 on jboss 5.1 without problems.
We generate code from wsdl with the maven cxf-codegen-plugin version 2.5.0.
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>2.5.0</version>
<dependencies>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<version>0.6.3</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-bindings-soap</artifactId>
<version>2.5.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
We also using following dependencies regarding jaxb.
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>provided</scope>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<scope>provided</scope>
<version>2.1.12</version>
</dependency>
Maybe you can try to generate the code this way and see if there are differences in the generated code that can explain why your code is not working.
-
2. Re: JBoss EAP 5.1 - CXF 2.3.1 Client Implementation Issue
limacon Sep 12, 2012 5:28 AM (in response to boers001)Thanks Rene for your quick reply. I have a separate team working on our Maven Implementation but they are stil using Jboss EAP 4.3. They have not merged my code changes yet regarding JBoss EAP 5.1. If what you mentioned is true, then I may pass them this CXF migration after they have fully completed their Maven Builds.
I may still need others suggestion who are not using Maven. I need to have some quick R&D regarding this.
Thanks,
Rodel