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] Assigned: (AXIS2-1470) wsdl2java fails to generate code complex wsdl files
Date Tue, 24 Oct 2006 12:58:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1470?page=all ]

Davanum Srinivas reassigned AXIS2-1470:
---------------------------------------

    Assignee: Davanum Srinivas  (was: Deepal Jayasinghe)

> 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
>         Assigned To: Davanum Srinivas
>            Priority: Blocker
>         Attachments: test.zip
>
>
> 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