You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2007/11/30 10:34:43 UTC

[jira] Created: (AXIS2-3379) wsdl2 codegen fails if the wsdl2 includes schema imports

wsdl2 codegen fails if the wsdl2 includes schema imports
--------------------------------------------------------

                 Key: AXIS2-3379
                 URL: https://issues.apache.org/jira/browse/AXIS2-3379
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.3
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Assignee: Keith Godwin Chapman
            Priority: Blocker


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3379) wsdl2 codegen fails if the wsdl2 includes schema imports

Posted by "Keith Godwin Chapman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586020#action_12586020 ] 

Keith Godwin Chapman commented on AXIS2-3379:
---------------------------------------------

Discussing this issue with the woden devs in the following jira.

https://issues.apache.org/jira/browse/WODEN-204

> wsdl2 codegen fails if the wsdl2 includes schema imports
> --------------------------------------------------------
>
>                 Key: AXIS2-3379
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3379
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3379) wsdl2 codegen fails if the wsdl2 includes schema imports

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3379:
------------------------------------

    Priority: Critical  (was: Blocker)

> wsdl2 codegen fails if the wsdl2 includes schema imports
> --------------------------------------------------------
>
>                 Key: AXIS2-3379
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3379
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3379) wsdl2 codegen fails if the wsdl2 includes schema imports

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge updated AXIS2-3379:
---------------------------------------

    Attachment: calculatorImportSchema.aar

attached service archive

> wsdl2 codegen fails if the wsdl2 includes schema imports
> --------------------------------------------------------
>
>                 Key: AXIS2-3379
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3379
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Keith Godwin Chapman
>            Priority: Blocker
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org