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 (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/09/27 23:14:45 UTC
[jira] [Issue Comment Edited] (CXF-3829) NPE in wsdl2java if
soap:binding tag is omitted
[ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115932#comment-13115932 ]
Glen Mazza edited comment on CXF-3829 at 9/27/11 9:12 PM:
----------------------------------------------------------
The solution appears to be to halt with a user-friendly error message should either no binding or one of the three bindings supported by CXF (SOAP, CORBA, XML) not be given.
was (Author: gmazza):
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