[jbossws-issues] [JBoss JIRA] (JBWS-3826) Add support for encoding option in JAX-WS tools

Alessio Soldano (JIRA) issues at jboss.org
Thu Sep 11 11:05:19 EDT 2014


    [ https://issues.jboss.org/browse/JBWS-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001485#comment-13001485 ] 

Alessio Soldano commented on JBWS-3826:
---------------------------------------

The -d / --encoding option has been added to wsconsume. See https://docs.jboss.org/author/display/JBWS/wsconsume for latest documentation.

> Add support for encoding option in JAX-WS tools
> -----------------------------------------------
>
>                 Key: JBWS-3826
>                 URL: https://issues.jboss.org/browse/JBWS-3826
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>          Components: jaxws-tools-maven-plugin, jbossws-cxf, tools-jaxws
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>             Fix For: jbossws-cxf-5.0
>
>
> This relates to https://issues.apache.org/jira/browse/CXF-2450 .
> Basically, unless the encoding option of cxf tools is specified, both cxf and xjc rely on the system encoding setup, defaulting to UTF-8 if nothing is set at system level.
> On system with a specific encoding (e.g. Windows installed w/ Italian language), the "file.encoding" system property is set to a value different from UTF-8 (ISO-8859-1 for the italian setup). This can lead to generating sources which can't then be compiled using a more restrictive encoding like UTF-8.
> Generally speaking it would hence be good to allow users specifying the desired encoding for the sources to be generated.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbossws-issues mailing list