cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-1169) wsdl2java from maven-code-gen plugin has validation and no warning suppression - wsdl with no service blows with error warning ...
Date Fri, 02 Nov 2007 14:22:50 GMT

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

Gary Tully updated CXF-1169:
----------------------------

    Attachment: suppressWarn.patch

This fixes the issue by ensuring that the suppressWarnings option is passed to the validator
that is used by the WsdltoJavaContainer.
I don't see where the command line tool makes this the default but doing it in the container
works for all code paths that I am aware of.

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


Mime
View raw message