Forum Discussion

AndreasL's avatar
AndreasL
New Contributor
14 years ago

Error importing WSDL with UTF-8 characters

Hi,

I'm getting an error when trying to import a WSDL file which contains operations parly based on Swedish (UTF-8) characters like å, ä and ö.

The error message produced by soap UI:

"Error loading WSDL
There was something wrong with the WSDL you are trying to import.
Error: The value 'visaDomän' is an invalid name."

(The request interpreted as 'visaDomän' is actually called 'visaDomän'.)

Is there any setting regarding encoding that I'm missing? The WSDL file starts with '<?xml version="1.0" encoding="utf-8" ?>'

Any ideas or should I just initiate a project to rename the operations to english-only characters?..

EDIT: I'm running version 4.0.0
  • Hi Andreas,

    strange.. are you sure that the WSDL is actually UTF-8 encoded as it says in the header? Can you attach the WSDL ?

    regards,

    /Ole
    eviware.com
  • AndreasL's avatar
    AndreasL
    New Contributor
    Hi,

    Thanks for the reply. Yes I am pretty sure that the file is in UTF-8, Notepad++ says it is. What I'm doing is that I'm referring to the URL where the WSDL is published by the IIS server which hosts the Web Service (and the WSDL is auto generated).

    Basically what I'm after is if soapUI supports "non US" characters in the WSDL files and if I read your reply correctly I assume it should. So I will just have to continue troubleshooting.

    Cheers
  • I have the same problem. Cannot import a (UTF-8) wsdl containing the field "Beløp". Gives error message: Error: The value 'Beløp' is an invalid name