[ 
https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115932#comment-13115932
 ] 

Glen Mazza commented on CXF-3829:
---------------------------------

The solution appears to be to halt with a user-friendly error message should 
either no binding or one of the three bindings not supported by CXF (SOAP, 
CORBA, XML) be given.

                
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a 
> NullPointerException if the soap:binding tag is omitted from the WSDL. 
> Reintroducing the soap:binding tag avoids the NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to