SoapUI - Error While loading WSDL:
org.apache.xmlbeans.XmlException:java.io.CharConversionException: Characters larger than 4 bytes are not supported: byte 0x94 implies a length of more than 4 bytes
Usually we face this issue when we try to load WSDL without an XML declaration with encoding specified, and that SoapUI interprets your WSDL as UTF-8. This happens from SoapUI 4.6.4 but where as SoapUI 4.6.3 used the default encoding.
We can solve this by following the below steps:
Hope it works for you :-)
org.apache.xmlbeans.XmlException:java.io.CharConversionException: Characters larger than 4 bytes are not supported: byte 0x94 implies a length of more than 4 bytes
Usually we face this issue when we try to load WSDL without an XML declaration with encoding specified, and that SoapUI interprets your WSDL as UTF-8. This happens from SoapUI 4.6.4 but where as SoapUI 4.6.3 used the default encoding.
We can solve this by following the below steps:
- Open the "SoapUI-4.6.4.vmoptions" file with text editor located in "bin" directory of SoapUI installed location.
NOTE : If we have any permission issues while editing the file then just copy the file to desktop and do the changes and paste it back to bin directory. - Add this line at end of the file:
-Dfile.encoding=UTF8 - Save the file and restart the SoapUI
- Try again to load the WSDL in SoapUI.
Hope it works for you :-)
No comments:
Post a Comment