[
https://issues.apache.org/jira/browse/CXF-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-3557.
------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Assignee: Daniel Kulp
In 2.4, they now use java.util.Logging to log at INFO level.
We cannot use commons-logging or anything else as, per spec, the Services have
to be completely portable to other JAX-WS implementations and thus cannot pull
in any extra deps.
> Generated WebServiceClient code should not use System.err.println
> -----------------------------------------------------------------
>
> Key: CXF-3557
> URL: https://issues.apache.org/jira/browse/CXF-3557
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Laurent Perez
> Assignee: Daniel Kulp
> Labels: system.err.println
> Fix For: 2.4
>
>
> Hello
> One of our clients PMD rules fails while validating a CXF generated class for
> a @WebServiceClient.
> The problem is that there is a raw System.err.println("Can not initialize the
> default wsdl from file:...") generated in the static{URL url} initializer.
> Would it be possible to use a Commons Logging delegate instead of a raw print
> statement ?
> Thanks
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira