Forum Discussion

jramos's avatar
jramos
New Contributor
11 years ago

Error loading WSDL with UTF-8 non-ASCII characters

During the load of a WSDL file, SOAPUI displays the following message:

Error loading [file:\J:\TEMP\xxx\Service1.asmx@WSDL]: org.apache.xmlbeans.XmlException: java.io.CharConversionException: Malformed UTF-8 character: 0xe7 0xe3 0x6f

The sequence 0xe7 0xe3 0x6f is really a malformed UTF-8 character. This sequence represents the string "ção" with LATIN-1 encoded. However, this sequence does not exist in the WSDL file. The corresponding sequence in the WSDL file is c3 a7 c3 a3 6f, where "c3 a7" is ç", "c3 a3" is "ã" and 6f is "o".

  <wsdl:portType name="Service1Soap">
<wsdl:operation name="HelloWorld">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Action in portuguese is ação</wsdl:documentation>
<wsdl:input message="tns:HelloWorldSoapIn" />
<wsdl:output message="tns:HelloWorldSoapOut" />
</wsdl:operation>
</wsdl:portType>


The error occurs loading the WSDL from a file and also reading the web service URL (http:// ... ?wsdl).

I'm using SOAPUI 4.6.4 and Windows 7 32 bit.

VERY IMPORTANT: This error doesn't occur with SOAPUI 4.6.3 installed side-by-side.

Thanks,
Jorge Ramos