axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gul Onural (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1470) wsdl2java fails to generate code complex wsdl files
Date Fri, 20 Oct 2006 16:43:34 GMT
wsdl2java fails to generate code complex  wsdl files
----------------------------------------------------

                 Key: AXIS2-1470
                 URL: http://issues.apache.org/jira/browse/AXIS2-1470
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.1
         Environment: Windows XP
            Reporter: Gul Onural


Running wsdl2java on the ExampleService.wsdl generates exception :

D:\test>wsdl2java -uri ExampleService.wsdl

Using AXIS2_HOME:   D:\axis2-std-1.1-SNAPSHOT-bin
Using JAVA_HOME:    C:\Program Files\Java\jdk1.5.0_08
Retrieving document at 'ExampleBindings.wsdl', relative to 'file:/D:/test/'.
Retrieving document at 'ExamplePortTypes.wsdl', relative to 'file:/D:/test/ExampleBindings.wsdl'.
Retrieving schema at 'ExampleCommonTypes.xsd', relative to 'file:/D:/test/ExamplePortTypes.wsdl'.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:112)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.AxisFault: null; nested exception is:
        java.lang.NullPointerException
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:24
6)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:103)
        ... 2 more
Caused by: java.lang.NullPointerException
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.j
ava:1037)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:20
6)
        ... 3 more
D:\test>

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

        

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


Mime
View raw message