axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3379) wsdl2 codegen fails if the wsdl2 includes schema imports
Date Sun, 19 Dec 2010 11:43:15 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Samisa Abeysinghe updated AXIS2-3379:
-------------------------------------

    Component/s:     (was: wsdl)
                 codegen

> wsdl2 codegen fails if the wsdl2 includes schema imports
> --------------------------------------------------------
>
>                 Key: AXIS2-3379
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3379
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Keith Godwin Chapman
>            Priority: Critical
>         Attachments: calculatorImportSchema.aar
>
>
> wsdl2 codegen fails with the following exception if the wsdl2 document includes schema
imports.
> Service archive is attached here with.
> C:\Axis2\Axis2-1.3\axis2-1.3\bin>wsdl2java.bat -uri http://10.100.1.118:9762/services/calculatorImportSchema?wsdl2
-wv 2 -o C:\Axis2\Axis2-1.3\axis2-1.3\bin\out
> Using AXIS2_HOME:   C:\Axis2\Axis2-1.3\axis2-1.3
> Using JAVA_HOME:    C:\Program Files\Java\jdk1.5.0_12
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error
parsing WSDL
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: org.apache.axis2.AxisFault
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>         at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateService(WSDL20ToAxisServiceBuilder.java:236)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:101)
>         ... 2 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.createAxisMessage(WSDL20ToAxisServiceBuilder.java:976)
>         at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateOperations(WSDL20ToAxisServiceBuilder.java:926)
>         at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.processInterface(WSDL20ToAxisServiceBuilder.java:849)
>         at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.processService(WSDL20ToAxisServiceBuilder.java:306)
>         at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateService(WSDL20ToAxisServiceBuilder.java:233)
>         ... 3 more

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message