You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sébastien (JIRA)" <ji...@apache.org> on 2010/10/04 16:12:35 UTC

[jira] Created: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

WSDL2Java with Xmlbeans, wrong classpath
----------------------------------------

                 Key: CXF-3023
                 URL: https://issues.apache.org/jira/browse/CXF-3023
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.2.10
            Reporter: Sébastien


I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.

The configuration of the JAXB generator is:
{code}
            <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>
                            <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
                            <includes>
                                <include>*.wsdl</include>
                            </includes>
                        </configuration>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
{code}

When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
{code}
Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
{code}

The plugin configuration is the same (I've also tried to remove the <phase> markup):
{code}
            <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>
                            <defaultOptions>
                                <extraargs>
                                    <!-- look at -->
                                    <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
                                    <extraarg>-db</extraarg>
                                    <extraarg>xmlbeans</extraarg>
                                </extraargs>
                            </defaultOptions>
                            <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
                            <includes>
                                <include>*.wsdl</include>
                            </includes>
                        </configuration>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
{code}

If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

Posted by "Sébastien (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918449#action_12918449 ] 

Sébastien commented on CXF-3023:
--------------------------------

Forcing the inclusion resolve the class not found, but another strange error occurs (never seen before): 

{code}
SolifeXFireServiceException cannot be processed. This can be caused by the use of JAX-WS-specific types without the JAX-WS service factory bean.
{code}

Note that the same WSDL has been used with JAXB.


The client endpoint like this:
{code}
    <bean id="solifeWebServiceClientProxy" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"
          scope="prototype" abstract="true">
        <property name="dataBinding">
            <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding"/>
        </property>
        <property name="serviceFactory">
            <bean id="webServiceFactoryXmlBeans"
                  class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean" scope="prototype">
                <property name="dataBinding">
                    <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding"/>
                </property>
                <property name="serviceConfigurations">
                    <list>
                        <bean class="org.apache.cxf.service.factory.DefaultServiceConfiguration"/>
                    </list>
                </property>
            </bean>
        </property>
        <property name="outInterceptors">
            <list>
                ...
            </list>
        </property>
    </bean>

<bean id="offerServiceWrongFactory" parent="solifeWebServiceClientProxy" lazy-init="true">
        <property name="serviceClass" value="com.X.OfferService"/>
        <property name="address" value="${ws.base.url}/OfferService?wsdl"/>
        <property name="outInterceptors">
            <list />
        </property>
    </bean>
    <bean id="offerServiceWrong" factory-bean="offerServiceWrongFactory" factory-method="create" lazy-init="true"/>
{code}


Is it possible that the inclusion problem leads to the upper one?

> WSDL2Java with Xmlbeans, wrong classpath
> ----------------------------------------
>
>                 Key: CXF-3023
>                 URL: https://issues.apache.org/jira/browse/CXF-3023
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.10
>            Reporter: Sébastien
>             Fix For: NeedMoreInfo
>
>         Attachments: stack-trace-xmlbeans-classpath.txt
>
>
> I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.
> The configuration of the JAXB generator is:
> {code}
>             <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>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
> {code}
> The plugin configuration is the same (I've also tried to remove the <phase> markup):
> {code}
>             <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>
>                             <defaultOptions>
>                                 <extraargs>
>                                     <!-- look at -->
>                                     <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
>                                     <extraarg>-db</extraarg>
>                                     <extraarg>xmlbeans</extraarg>
>                                 </extraargs>
>                             </defaultOptions>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

Posted by "Sébastien (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sébastien updated CXF-3023:
---------------------------

    Attachment: stack-trace-xmlbeans-classpath.txt

> WSDL2Java with Xmlbeans, wrong classpath
> ----------------------------------------
>
>                 Key: CXF-3023
>                 URL: https://issues.apache.org/jira/browse/CXF-3023
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.10
>            Reporter: Sébastien
>         Attachments: stack-trace-xmlbeans-classpath.txt
>
>
> I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.
> The configuration of the JAXB generator is:
> {code}
>             <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>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
> {code}
> The plugin configuration is the same (I've also tried to remove the <phase> markup):
> {code}
>             <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>
>                             <defaultOptions>
>                                 <extraargs>
>                                     <!-- look at -->
>                                     <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
>                                     <extraarg>-db</extraarg>
>                                     <extraarg>xmlbeans</extraarg>
>                                 </extraargs>
>                             </defaultOptions>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

Posted by "Sébastien (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sébastien updated CXF-3023:
---------------------------

    Attachment: Bank.wsdl
                stack-trace-xbean.txt

> WSDL2Java with Xmlbeans, wrong classpath
> ----------------------------------------
>
>                 Key: CXF-3023
>                 URL: https://issues.apache.org/jira/browse/CXF-3023
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.10
>            Reporter: Sébastien
>             Fix For: NeedMoreInfo
>
>         Attachments: Bank.wsdl, stack-trace-xbean.txt, stack-trace-xmlbeans-classpath.txt
>
>
> I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.
> The configuration of the JAXB generator is:
> {code}
>             <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>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
> {code}
> The plugin configuration is the same (I've also tried to remove the <phase> markup):
> {code}
>             <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>
>                             <defaultOptions>
>                                 <extraargs>
>                                     <!-- look at -->
>                                     <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
>                                     <extraarg>-db</extraarg>
>                                     <extraarg>xmlbeans</extraarg>
>                                 </extraargs>
>                             </defaultOptions>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-3023:
-----------------------------

    Fix Version/s: NeedMoreInfo

> WSDL2Java with Xmlbeans, wrong classpath
> ----------------------------------------
>
>                 Key: CXF-3023
>                 URL: https://issues.apache.org/jira/browse/CXF-3023
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.10
>            Reporter: Sébastien
>             Fix For: NeedMoreInfo
>
>         Attachments: stack-trace-xmlbeans-classpath.txt
>
>
> I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.
> The configuration of the JAXB generator is:
> {code}
>             <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>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
> {code}
> The plugin configuration is the same (I've also tried to remove the <phase> markup):
> {code}
>             <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>
>                             <defaultOptions>
>                                 <extraargs>
>                                     <!-- look at -->
>                                     <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
>                                     <extraarg>-db</extraarg>
>                                     <extraarg>xmlbeans</extraarg>
>                                 </extraargs>
>                             </defaultOptions>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

Posted by "Sébastien (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918443#action_12918443 ] 

Sébastien commented on CXF-3023:
--------------------------------

Yes I always use the clean goal before testing.

As you suggest, the directory target\generated-sources\cxf\schemaorg_apache_xmlbeans is not within the classpath, but XMLObject classes in \target\generated-sources\cxf\com\** are correctly included.

As you suggest:
{code}
    <build>
        <resources>
            <resource>
                <directory>${basedir}/src/main/resources</directory>
            </resource>
            <resource>
                <directory>${basedir}/target/generated-sources/cxf</directory>               
            </resource>
        </resources>
        <plugins>
            <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>
                            <defaultOptions>
                                <extraargs>
                                    <!-- look at -->
                                    <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
                                    <extraarg>-db</extraarg>
                                    <extraarg>xmlbeans</extraarg>
                                </extraargs>
                            </defaultOptions>
                            <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
                            <includes>
                                <include>*.wsdl</include>
                            </includes>
                        </configuration>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
{code}

Why XMLObjects are included while the directory schemaorg_apache_xmlbeans is not?

> WSDL2Java with Xmlbeans, wrong classpath
> ----------------------------------------
>
>                 Key: CXF-3023
>                 URL: https://issues.apache.org/jira/browse/CXF-3023
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.10
>            Reporter: Sébastien
>             Fix For: NeedMoreInfo
>
>         Attachments: stack-trace-xmlbeans-classpath.txt
>
>
> I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.
> The configuration of the JAXB generator is:
> {code}
>             <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>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
> {code}
> The plugin configuration is the same (I've also tried to remove the <phase> markup):
> {code}
>             <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>
>                             <defaultOptions>
>                                 <extraargs>
>                                     <!-- look at -->
>                                     <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
>                                     <extraarg>-db</extraarg>
>                                     <extraarg>xmlbeans</extraarg>
>                                 </extraargs>
>                             </defaultOptions>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-3023) WSDL2Java with Xmlbeans, wrong classpath

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917712#action_12917712 ] 

Daniel Kulp commented on CXF-3023:
----------------------------------


Can you run a "mvn clean install" or similar and see if the problem is still there?    One of the "issues" with xmlbeans is it tends to generate a different ID for the TypeSystemHolder package thing (the s14C5C2D1E1AB170E2BDAA0B2E05EA32B part) and if you rerun, it sometimes will get a bit confused with mixed versions.

Also, you MAY need to add the target/generated/src/test/resources/ as a resource directory using the <resources> element in your pom.   XMLBeans sticks a bunch of things in there that would be needed.



> WSDL2Java with Xmlbeans, wrong classpath
> ----------------------------------------
>
>                 Key: CXF-3023
>                 URL: https://issues.apache.org/jira/browse/CXF-3023
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.10
>            Reporter: Sébastien
>         Attachments: stack-trace-xmlbeans-classpath.txt
>
>
> I'm trying to generate Java stubs from WSDL. With JAXB the created code is working fine.  So, clients generated from WSDL files can connect to web services.
> The configuration of the JAXB generator is:
> {code}
>             <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>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> When I use Xmlbeans instead of JAXB, the source generation succeed,  but once unit tests are running I got the following exception:
> {code}
> Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s14C5C2D1E1AB170E2BDAA0B2E05EA32B.TypeSystemHolder
> {code}
> The plugin configuration is the same (I've also tried to remove the <phase> markup):
> {code}
>             <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>
>                             <defaultOptions>
>                                 <extraargs>
>                                     <!-- look at -->
>                                     <!-- http://cxf.apache.org/docs/wsdl-to-java.html -->
>                                     <extraarg>-db</extraarg>
>                                     <extraarg>xmlbeans</extraarg>
>                                 </extraargs>
>                             </defaultOptions>
>                             <wsdlRoot>${basedir}/src/main/wsdl</wsdlRoot>
>                             <includes>
>                                 <include>*.wsdl</include>
>                             </includes>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> If there is something wrong during the generation, the generation should say something?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.