Hi

I am trying to generate Java artifacts from a WSDL using cxf-codegen-plugin 
with a specific package-name for the WSDL.  When I give the following option in 
my pom.xml,

..<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>
<wsdlOptions>
                  <wsdlOption>
                        
<wsdl>${basedir}/src/main/resources/META-INF/MyWsdl.wsdl</wsdl>
                        <packagenames>
                              <packagename>a.b.c.service</packagename>
                        </packagenames>
                  </wsdlOption>


It is generating the Java artifacts in one 'a.b.c.service' package for the WSDL 
and also for the schema (XSD) files that are referenced within the WSDL.  Is 
there a way to just generate the Java artifacts for the 'MyWsdl.wsdl' in 
'a.b.c.service' package and the rest referenced(XSD) in the WSDL in their own 
default package?

Thanks

Sonam Nepali

Reply via email to