soapui加载天气预报接口时报错如下:

Error loading [http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl]: org.apache.xmlbeans.XmlException: java.io.CharConversionException: Characters larger than 4 bytes are not supported: byte 0xb1 implies a length of more than 4 byte

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

截图如下:

 soapui加载天气预报接口报错Characters larger than 4 bytes are not supported: byte 0xb1 implies a length of more than 4 byte的解决办法 随笔

解决办法:

在soapui的安装目录下找到SoapUI-4.6.4.vmoptions,在文件末尾添加-Dfile.encoding=UTF8,重启soapui即可。

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄