Hi,

I'm having a jaxrpc-mapping.xml file. I want CXF (in combination with Maven) to 
use the jaxrpc-mapping.xml file. Is there a way to configure my POM that it 
reads the file.

My current config:

            <plugin>
                <groupId>org.apache.cxf</
groupId>
                <artifactId>cxf-codegen-plugin</artifactId>
                <version>2.2.1</version>
                <executions>
                    <execution>
                        <id>generate-sources</id>
                        <phase>generate-sources</phase>
                        <configuration>
                            
<sourceRoot>${project.build.directory}/generated-sources</sourceRoot>
                            <wsdlOptions>
                                <wsdlOption>
                                    
<wsdl>${basedir}/src/main/wsdl/MYCOMPANY-css.wsdl</wsdl>
                                    <extraargs>
                                        <extraarg>-p</extraarg>
                                        
<extraarg>http://www.MYCOMPANY.be/css/2007/03=be.MYCOMPANY.css.MYAPPLICATION</extraarg>
                                    </extraargs>
                                </wsdlOption>
                            </wsdlOptions>
                        </configuration>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
           
I need the equivalent for this:

  <wsdl-java location="http://....?wsdl";>
    <mapping file="META-INF/jaxrpc-mapping.xml" />
  </wsdl-java>
 
Regards,
Jochen

Reply via email to