I am trying to create a webservices client as soon as I create my project on the fly. He currently does this, but puts it in a package with a name based on the WS namespace .. so he suggests that the namespace is google.com, the generated files will be in com.google ..
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>2.2.10</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>${basedir}/src/main/java/</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>http://localhost:8080/ProjectName/ProjectWS?wsdl</wsdl>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
I want to generate files in another package. Lets call him comWS.gooleClient
Can this be done?
thank
source
share