Soap-ui, Windows, wsdl

[soap ui][wsdl] org.apache.xmlbeans.XmlException: java.io.CharConversionException: Malformed UTF-8 character

This error is almost always the case when you have a windows (cp-1254) system and working with linux systems, which by default is utf-8.

In this case if the wsdl have a special character that windows don’t reconize, lauch the error above.

To solve the problem just change the parameters of the JVM that Soap UI use.

this file is located for example in C:\Program Files (x86)\SoapUI-4.6.2\bin\SoapUI-4.6.2.vmoptions

Open the file (for example with notepad ++) and add the RED line for file encoding.

-Xms128m
-Xmx1000m
-Dfile.encoding=UTF-8
-Dsoapui.properties=soapui.properties
-Dsoapui.home=C:\Program Files (x86)\SoapUI-4.6.2/bin
-Dsoapui.ext.libraries=C:\Program Files (x86)\SoapUI-4.6.2/bin/ext
-Dsoapui.ext.listeners=C:\Program Files (x86)\SoapUI-4.6.2/bin/listeners
-Dsoapui.ext.actions=C:\Program Files (x86)\SoapUI-4.6.2/bin/actions
-Dwsi.dir=C:\Program Files (x86)\SoapUI-4.6.2/wsi-test-tools
-Djava.library.path=C:\Program Files (x86)\SoapUI-4.6.2/bin
-Djava.util.Arrays.useLegacyMergeSort=true
-splash:soapui-splash.png
-Djxbrowser.xulrunner.dir=C:\Program Files (x86)\SoapUI-4.6.2\.JxBrowser

Re-start soap ui, and try again to download the wsdl.

For more information see this page: http://0guzhan.blogspot.it/2012/05/soapui-450-workspace-problem.html

Annunci

Un pensiero su “[soap ui][wsdl] org.apache.xmlbeans.XmlException: java.io.CharConversionException: Malformed UTF-8 character

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione /  Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...