axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-408) The wsdl doesn't compile under ADB option
Date Sun, 23 Apr 2006 20:36:06 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-408?page=all ]
     
Davanum Srinivas resolved AXIS2-408:
------------------------------------

    Resolution: Fixed

Created AXIS2-605 and closing this one.

> The wsdl doesn't compile under ADB option
> -----------------------------------------
>
>          Key: AXIS2-408
>          URL: http://issues.apache.org/jira/browse/AXIS2-408
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement

>   Components: wsdl
>     Versions: 0.94
>  Environment: Windows 2000 Pro, Sun JDK 1.4.2_05
>     Reporter: tao liu
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Minor

>
> Wsdl2java [Axis2 0.94 release] throws NullPointerException when it runs against the wsdl
at
> "http://martingudgin-2.dsl.easynet.co.uk/dotnet/mtom/mtomecho.wsdl" with ADB option.
> The command that generates the exception:
>   wsdl2java -uri mtomecho.wsdl -s -ss -sd
> It generates the same message with the wsdl link:
>   wsdl2java -uri http://martingudgin-2.dsl.easynet.co.uk/dotnet/mtom/mtomecho.wsdl -s
-ss -sd -d adb
> Note that the commands with both option "-d xmlbeans" and option "-d none" are fine.
> ---------------------------------------------------------------------
> D:\wsdl>wsdl2java -uri mtomecho.wsdl -s -ss -sd
> Using AXIS2_HOME:   D:\temp\axis2-std-0.94-bin
> Using JAVA_HOME:    D:\j2sdk1.4.2_05
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException
> java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException
> java.lang.NullPointerException
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate
> (CodeGener
> ationEngine.java:118)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:31)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException:
> org.apache.axis2.schema.SchemaCompilation
> Exception: java.lang.NullPointerException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage
> (Simp
> leDBExtension.java:152)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate
> (CodeGener
> ationEngine.java:80)
>         ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException:
> java.lang.NullPoi
> nterException
>         at org.apache.axis2.schema.writer.JavaBeanWriter.write(
> JavaBeanWriter.ja
> va:143)
>         at org.apache.axis2.schema.SchemaCompiler.writeElement(
> SchemaCompiler.ja
> va:252)
>         at org.apache.axis2.schema.SchemaCompiler.compile(
> SchemaCompiler.java:19
> 1)
>         at org.apache.axis2.schema.SchemaCompiler.compile(
> SchemaCompiler.java:14
> 1)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage
> (Simp
> leDBExtension.java:104)
>         ... 3 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.writer.JavaBeanWriter.getBeanElement
> (JavaBean
> Writer.java:357)
>         at org.apache.axis2.schema.writer.JavaBeanWriter.process
> (JavaBeanWriter.
> java:270)
>         at org.apache.axis2.schema.writer.JavaBeanWriter.write(
> JavaBeanWriter.ja
> va:141)
>         ... 7 more

-- 
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


Mime
View raw message