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

Daniel Kulp commented on CXF-1169:
----------------------------------



Personally, I'd prefer that the warning about no services just be removed.    
Code generation from a Logical wsdl is completely valid.   Logical wsdls are 
completely valid.  Why should a warning be generated?



> wsdl2java from maven-code-gen plugin has validation and no warning 
> suppression - wsdl with no service blows with error warning ...
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1169
>                 URL: https://issues.apache.org/jira/browse/CXF-1169
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.3
>            Reporter: Gary Tully
>         Attachments: suppressWarn.patch
>
>
> validation with no warning suppression cause wsdl2java from maven-code-gen to 
> blow with Error Warning for logical wsdl. That is wsdl that has no services 
> defined. Having suppressWarnings on by default in the WSDLToJavaContaner 
> fixes this.
> wsde2java command line tool does the suppression ok.
> Either the warning is not valid or wsdl2java from maven should always disable 
> it because a wsdl with no services is perfectly valid. 

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