[ 
http://issues.apache.org/jira/browse/AXIS2-668?page=comments#action_12378199 ] 

Kent Tong commented on AXIS2-668:
---------------------------------

Adding a <classpath> to <codegen> solves the problem:

                <codegen 
                        wsdlfilename="FooService.wsdl"
                        serverside="true"
                        generateservicexml="true"
                        output="out2">
                        <classpath>
                                <fileset dir="c:/axis2/lib">
                                        <include name="**/*.jar"/>
                                        <exclude name="commons-logging*.jar"/>
                                </fileset>
                        </classpath>
                </codegen>

However, now it prints an error of:

org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: WSDL writing failed!


> AntCodegenTask throws exception
> -------------------------------
>
>          Key: AXIS2-668
>          URL: http://issues.apache.org/jira/browse/AXIS2-668
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: Tools
>     Versions: 1.0
>  Environment: axis2-1.0 svn 2005-05-04 (noon)
>     Reporter: Bryan Brouckaert
>  Attachments: build-test.xml
>
> The AntCodegenTask throws following error: 
> "javax.xml.stream.FactoryConfigurationError: Provider 
> com.bea.xml.stream.MXParserFactory not found"
> All jars of the Axis2 library are included in the class path.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to