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.

Reply via email to