You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2008/02/19 06:32:43 UTC

[jira] Created: (CXF-1439) WSDL2Java generates NPE for certain WSDL

WSDL2Java generates NPE for certain WSDL
----------------------------------------

                 Key: CXF-1439
                 URL: https://issues.apache.org/jira/browse/CXF-1439
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.0.4
            Reporter: Glen Mazza
            Priority: Minor


The attached WSDL file is a *severely* truncated version (95%+ gone) of the Amazon WSDL and a binding file in which I turn on/off wrapper style.  It works fine with GlassFish Metro--generating wrapper and non-wrapper style.

However, CXF returns an NPE if I have an <enableWrapperStyle/> property listed in the bindings file (regardless of whether it is set to true or false.)  If I comment out this <eWS/> tag, wsdl2java runs normally without error.  The command I am using to run this is "wsdl2java -b bindings.xml AWSECommerceService2.wsdl."

I don't believe we can generalize the problem to <eWS/> not working at all because I have been able to get this property to work with other WSDLs.

If I have time later I can look at this further myself.


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


[jira] Updated: (CXF-1439) WSDL2Java generates NPE for certain WSDL

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

Glen Mazza updated CXF-1439:
----------------------------

    Attachment: bindings.xml

bindings file

> WSDL2Java generates NPE for certain WSDL
> ----------------------------------------
>
>                 Key: CXF-1439
>                 URL: https://issues.apache.org/jira/browse/CXF-1439
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.4
>            Reporter: Glen Mazza
>            Priority: Minor
>         Attachments: AWSECommerceService2.wsdl, bindings.xml
>
>
> The attached WSDL file is a *severely* truncated version (95%+ gone) of the Amazon WSDL and a binding file in which I turn on/off wrapper style.  It works fine with GlassFish Metro--generating wrapper and non-wrapper style.
> However, CXF returns an NPE if I have an <enableWrapperStyle/> property listed in the bindings file (regardless of whether it is set to true or false.)  If I comment out this <eWS/> tag, wsdl2java runs normally without error.  The command I am using to run this is "wsdl2java -b bindings.xml AWSECommerceService2.wsdl."
> I don't believe we can generalize the problem to <eWS/> not working at all because I have been able to get this property to work with other WSDLs.
> If I have time later I can look at this further myself.

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


[jira] Updated: (CXF-1439) WSDL2Java generates NPE for certain WSDL

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

Glen Mazza updated CXF-1439:
----------------------------

    Attachment: AWSECommerceService2.wsdl

WSDL file.

> WSDL2Java generates NPE for certain WSDL
> ----------------------------------------
>
>                 Key: CXF-1439
>                 URL: https://issues.apache.org/jira/browse/CXF-1439
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.4
>            Reporter: Glen Mazza
>            Priority: Minor
>         Attachments: AWSECommerceService2.wsdl, bindings.xml
>
>
> The attached WSDL file is a *severely* truncated version (95%+ gone) of the Amazon WSDL and a binding file in which I turn on/off wrapper style.  It works fine with GlassFish Metro--generating wrapper and non-wrapper style.
> However, CXF returns an NPE if I have an <enableWrapperStyle/> property listed in the bindings file (regardless of whether it is set to true or false.)  If I comment out this <eWS/> tag, wsdl2java runs normally without error.  The command I am using to run this is "wsdl2java -b bindings.xml AWSECommerceService2.wsdl."
> I don't believe we can generalize the problem to <eWS/> not working at all because I have been able to get this property to work with other WSDLs.
> If I have time later I can look at this further myself.

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


[jira] Resolved: (CXF-1439) WSDL2Java generates NPE for certain WSDL

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

Daniel Kulp resolved CXF-1439.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.1)
                   2.0.5


This is actually resolved in some stuff I did yesterday to simplify some code.



> WSDL2Java generates NPE for certain WSDL
> ----------------------------------------
>
>                 Key: CXF-1439
>                 URL: https://issues.apache.org/jira/browse/CXF-1439
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.4
>            Reporter: Glen Mazza
>            Priority: Minor
>             Fix For: 2.0.5
>
>         Attachments: AWSECommerceService2.wsdl, bindings.xml
>
>
> The attached WSDL file is a *severely* truncated version (95%+ gone) of the Amazon WSDL and a binding file in which I turn on/off wrapper style.  It works fine with GlassFish Metro--generating wrapper and non-wrapper style.
> However, CXF returns an NPE if I have an <enableWrapperStyle/> property listed in the bindings file (regardless of whether it is set to true or false.)  If I comment out this <eWS/> tag, wsdl2java runs normally without error.  The command I am using to run this is "wsdl2java -b bindings.xml AWSECommerceService2.wsdl."
> I don't believe we can generalize the problem to <eWS/> not working at all because I have been able to get this property to work with other WSDLs.
> If I have time later I can look at this further myself.

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