[
https://issues.apache.org/jira/browse/CXF-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edell Nolan updated CXF-1169:
-----------------------------
If the wsdl is valid without services then we really shouldn't throw warnings.
We are going to get warnings in the idltowsdl tools when a user chooses to
split the generated wsdl into logical and physical wsdls if we want to validate
them.
So I would agree to get rid of this warning.
cheers, Edell.
> 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
> Assignee: maomaode
> Fix For: 2.0.3
>
> 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.