Forum Discussion
After saving your soapui.bat file, could you try this one ?
Echo off
set SOAPUI_HOME=%~dp0
set JAVA_HOME=I:\jdk-11.0.7
set JAVA=%JAVA_HOME%\bin\java
if not "%JAVA_HOME%" == "" goto SET_CLASSPATH
set JAVA=java
echo JAVA_HOME is not set, unexpected results may occur.
echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
:SET_CLASSPATH
rem init classpath
set OLDDIR=%CD%
cd /d %SOAPUI_HOME%
set CLASSPATH=%SOAPUI_HOME%soapui-5.6.0.jar;%SOAPUI_HOME%..\lib\*
"%JAVA%" -cp "%CLASSPATH%" com.eviware.soapui.tools.JfxrtLocator > %TEMP%\jfxrtpath
set /P JFXRTPATH= < %TEMP%\jfxrtpath
del %TEMP%\jfxrtpath
set CLASSPATH=%CLASSPATH%;%JFXRTPATH%
rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms128m -Xmx1024m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\" -splash:SoapUI-Spashscreen.png
if "%SOAPUI_HOME%" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"
set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%SOAPUI_HOME%\"
set JAVA_OPTS=%JAVA_OPTS% -Dwsi.dir="%SOAPUI_HOME%..\wsi-test-tools"
rem uncomment to disable browser component
rem set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.browser.disabled="true"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.https.protocols="SSLv3,TLSv1.2"
:START
rem ********* run soapui ***********
"%JAVA%" %JAVA_OPTS% -cp "%CLASSPATH%" com.eviware.soapui.SoapUI %*
cd /d %OLDDIR%
HI David,
Still im getting save error.
what is the best possible to way to resolve thiss below exception, is this issue with certificate ?
- 2021-05-04 23:05:26 - Error getting response; javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Gouravjoshi893 years agoOccasional Contributor
Hi David/team,
Could I please get the response on below ?
Need your help/advise to fix this issue asap.
Thanks in advance
- ZDGN3 years agoContributor
Sorry for being so late.
The fact you still have an error is either the oauth server is not configured as excepted or your connexion is missing something (happened to me passing by a proxy for example).
By the way you should provide more information on the request you use.Regards
David.
- Gouravjoshi893 years agoOccasional ContributorHi ,. Thanks for your below reply.
Configuration is done properly as it's working in the version 5.5.0 but issue with only 5.6.0
Please let me know what other details required from my end to investigate more on the issue.
Regards
Gourav Joshi - weelen3 years agoVisitor
I have to test different servers in a lab, all running with self signed certificates. I always get this "invalid certificate path" error when trying to open a wadl. I have created a keystore and added all certifcates, changed the soapui.bat file to reflect different java paths, none work.
One difference that seems inconsistent is the error between different soapui versions for exactly the same problem:
5.6.0 --> invalid cert path
5.5.0 -> missing subject name in cert
Only thing that seems to work for me is to browse to the wadl on the server, view source, copy the content to a local file and add the wadl from this local file. This is the only way I can get it in SoapUI. Maybe it helps.
I am still hoping that in a next release this behaviour can be controlled, because none of the "workarrounds" seem to work atm.
- sonya_m3 years agoSmartBear Alumni (Retired)
Hi Gouravjoshi89 ! I wanted to let you know that your most recent reply didn't reach the forum because it looks like you replied straight to the email notification. Please copy it here.
Related Content
- 6 months agoApoorva6
- 8 months agomortenb123
- 4 years agokiranka
- 13 years agojitendra_1
Recent Discussions
- 2 days agoruchisingh