axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilo Frotscher (JIRA)" <>
Subject [jira] Created: (AXIS2-1634) WSDL2Java throws exception
Date Tue, 07 Nov 2006 10:26:50 GMT
WSDL2Java throws exception

                 Key: AXIS2-1634
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1
         Environment: Axis2 1.1 RC2
            Reporter: Thilo Frotscher
            Priority: Minor

1) Usage message printed by WSDL2Java says that "csharp" is a valid option for the language
parameter. That's wrong, it must be "c-sharp"
2) When using "-l c-sharp" code is generated, but I get the following exception:

Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException:
template for
this writer is not found!
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
        at org.apache.axis2.wsdl.WSDL2Code.main(
        at org.apache.axis2.wsdl.WSDL2Java.main(
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: template for this writer
is not found!
        at org.apache.axis2.wsdl.codegen.writer.ClassWriter.loadTemplate(
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeClass(
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeAntBuild(
        at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub(
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(

   I know code generation for C# is experimental... but perhaps it's easy to fix.

3) General comment: It's kind of weird to run WSDL2Java to generate code for C or C#. The
batch script should be renamed to WSDL2Code.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message