Well, I fixed my dependency problem, but it appears that the Java it generates is still JAXB. Any ideas?
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>
target/generated-sources/src/main/java
</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>
./src/main/wsdl/Service.wsdl
</wsdl>
<extraargs>
<extraarg>-db</extraarg>
<extraarg>xmlbeans</extraarg>
</extraargs>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>
cxf-rt-databinding-xmlbeans
</artifactId>
<version>${cxf.version}</version>
</dependency>
</dependencies>
</plugin>
---------- Forwarded message ----------
From: Austin Lowry <[EMAIL PROTECTED]>
Date: Fri, Sep 19, 2008 at 11:32 AM
Subject: wsdl2java XmlBeans Functionality
To: [email protected]
Looking into previous messages it appears that XmlBeans functionality
may not be all there. I would like to be able to use wsdl2java and
produce XmlBeans code for use in my service.
Right now when I try to use XmlBeans as the data binding I get:
org.apache.maven.plugin.MojoExecutionException: Could not find
xmlbeans databinding within classpath
Is this indicative of another problem, or is wsdl2java support for
XmlBeans not there yet? Thanks.
