Hi,

I am trying to use cxf-java2ws-plugin and I don't know how to configure the 
plugin (or my pom.xml) to generate wsdl for several services. Below my plugin 
configuration :


       <plugin>
            <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-java2ws-plugin</artifactId>
                <version>${cxf.version}</version>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-frontend-jaxws</artifactId>
                        <version>${cxf.version}</version>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-frontend-simple</artifactId>
                        <version>${cxf.version}</version>
                    </dependency>
                </dependencies>
                <executions>
                    <execution>
                        <id>process-classes</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>java2ws</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <className>org.toto.MyService1</className>
                    <className>org.toto.MyService2</className>
                    <genWsdl>true</genWsdl>
                    <verbose>true</verbose>
                    <argline>-createxsdimports</argline>
                </configuration>
            </plugin>

Thanks for your help.

Willy

Reply via email to