Forum Discussion

Ivan_Trampedach's avatar
Ivan_Trampedach
Contributor
11 years ago

[Resolved] Malformed UTF-8 character: 0xf8 0x67 0x65 0x6b

Hi,
In version SoapUI PRO version 4.6.4 I get this error when loading a specific wsdl file

Error loading [http:xxx?wsdl]: org.apache.xmlbeans.XmlException: java.io.CharConversionException: Malformed UTF-8 character: 0xf8 0x67 0x65 0x6


Several of my services fail with same message.
Could it be special danish char that is making troubles again ?

It is possible to load the wsdl into version 4.6.2 and before.

Regards Ivan

4 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Ivan!

    You're correct. The WSDL import functionality in SoapUI is stricter when it comes to character encoding of the WSDL since version 4.6.4.
    Please correct your WSDL and let us know if you still are having issues.

    --
    Regards

    Erik
    SmartBear Sweden

  • We are not the owner of all the wsdl only using them.
    I belive that the tool will be changed before the wsdl in the project are updated.

    I don't know how to find the char there are causing the problem.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Please try the following configuration change on your installation.
    1. Open in Notepad either of these files that you will find in the "bin" directory of your installation of SoapUI: "soapui.bat", "soapui.sh", or "soapUI-Pro-release.vmoptions".
    2. Add the following line to the end of the file:
    -Dfile.encoding=UTF8
    3. Save the file and restart SoapUI Pro

    If this doesn't resolve the issue, try downloading the pro nightly build release,
    http://www.soapui.org/Downloads/soapui-pro-nightly-builds.html

    Thanks,
    Jeshtha
  • Hi Jeshtha,

    Thanks for your solution, I started to download the nightly build and it gave me same error.
    Then I added the sugested line '-Dfile.encoding=UTF8' into the file \bin\SoapUI-Pro-4.6.4-m-SNAPSHOT and now it is workine as expected


    Thanks again