SoapUI:byte 0xb1 implies a length of more than 4 bytes
在project测试中,如果引入wsdl报如下的错误:
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 bytes
解决方案:关闭程序并找到SoapUI的安装位置中的SoapUI-5.4.0.vmoptions这个文件,在末尾加入 -Dfile.encoding=UTF8 可解决
还没有评论,来说两句吧...