Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2450

WSDL2java uses system encoding when generating java classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3
    • 2.5.4, 2.6.1
    • Tooling
    • None
    • Blocked on External

    Description

      When using wsdl2java java classes are created in default encoding(for instance MacRoman). But when we afterwards try to compile these classes in UTF-8 special chars in java comments resolves in compliations error

      [INFO] Compilation failure

      /url/to/file/SomeFile.java:[31,18] unmappable character for encoding UTF-8

      We would like somehow to specify which encoding wsdl2java should use when generating java classes. We can't seem to find this property.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              hamulka Mads Jensen
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: