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 "Roger Saunders (JIRA)" <ax...@ws.apache.org> on 2007/04/03 11:25:32 UTC

[jira] Created: (AXIS-2646) WSDL2Java generates NullPointerException in JavaInterfaceWriter.writeOperation

WSDL2Java generates NullPointerException in JavaInterfaceWriter.writeOperation
------------------------------------------------------------------------------

                 Key: AXIS-2646
                 URL: https://issues.apache.org/jira/browse/AXIS-2646
             Project: Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
         Environment: XP. j2sdk1.4.2_13
            Reporter: Roger Saunders


WSDL2Java fails with specimen SAP application. The same WSDL works correctly with Axis 2.0, but our project cannot move to AXIS 2.0 at the moment.
There is a main wsdl with 6 imports - I can provide this if required.
java.lang.NullPointerException
        at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.writeOperation(JavaI
terfaceWriter.java:126)
        at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.writeFileBody(JavaIn
erfaceWriter.java:108)
        at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
        at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.generate(JavaInterfa
eWriter.java:73)
        at org.apache.axis.wsdl.toJava.JavaBindingWriter.generate(JavaBindingWr
ter.java:144)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Ja
aGeneratorFactory.java:421)
        at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
        at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
        at java.lang.Thread.run(Thread.java:534)

-- 
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: (AXIS-2646) WSDL2Java generates NullPointerException in JavaInterfaceWriter.writeOperation

Posted by "Roger Saunders (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Saunders updated AXIS-2646:
---------------------------------

    Attachment: plain2.zip

The import statements in main.wsdl and in the files in bindings will need to be edited

> WSDL2Java generates NullPointerException in JavaInterfaceWriter.writeOperation
> ------------------------------------------------------------------------------
>
>                 Key: AXIS-2646
>                 URL: https://issues.apache.org/jira/browse/AXIS-2646
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.4
>         Environment: XP. j2sdk1.4.2_13
>            Reporter: Roger Saunders
>         Attachments: plain2.zip
>
>
> WSDL2Java fails with specimen SAP application. The same WSDL works correctly with Axis 2.0, but our project cannot move to AXIS 2.0 at the moment.
> There is a main wsdl with 6 imports - I can provide this if required.
> java.lang.NullPointerException
>         at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.writeOperation(JavaI
> terfaceWriter.java:126)
>         at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.writeFileBody(JavaIn
> erfaceWriter.java:108)
>         at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
>         at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.generate(JavaInterfa
> eWriter.java:73)
>         at org.apache.axis.wsdl.toJava.JavaBindingWriter.generate(JavaBindingWr
> ter.java:144)
>         at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Ja
> aGeneratorFactory.java:421)
>         at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
>         at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
>         at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
>         at java.lang.Thread.run(Thread.java:534)

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