Ask a Question

Default directory for initial WSDL

averhoev
Occasional Contributor

Default directory for initial WSDL

Hello,

 

I have a question regarding the default location for field "Initial WSDL" in the form "New SOAP Project". Currently it starts in the bin-directory of SoapUI itself (C:\Program Files\SmartBear\SoapUI-5.6.0\bin). Is it possible to change this location by setting some options?

 

With kind regards,

 

Arie Verhoeven

6 REPLIES 6
ashu248
Contributor

Re: Default directory for initial WSDL

Hi @averhoev 

 

Go to SoapUi Help Menu-> System settings.

 

You can change the location of any files.

 

Please accept it as solution if it works for you thanks.

😊😊

Thanks,

averhoev
Occasional Contributor

Re: Default directory for initial WSDL

Hello,

Indeed do I view the system properties. However, this is a read-only form. How can I change these values?

Met vriendelijke groet,​

Arie Verhoeven
|
Consultant
[cid:image001.jpg@01D7B066.3D59D850]
Transfer Solutions
Dokter Reilinghplein 2
4141 DB Leerdam
T
M
E
+31 345 616888
+31 6 30175159
arie.verhoeven@transfer-solutions.com
[cid:image002.jpg@01D7B066.3D59D850]
ashu248
Contributor

Re: Default directory for initial WSDL

@averhoev 

Attached image is not visible to me.

 

You would be able to update the properties in SoapUI-x-x-x /bin/soapui.bat.

 

Once properties updated kindly restart the SoapUi.

 

Please accept as solution if it works for you!! 

 

Thanks,

😊😊

averhoev
Occasional Contributor

Re: Default directory for initial WSDL

averhoev_0-1632394829390.png

Here you have the image of the System Properties form. Unfortunately, it is read-only for me.

averhoev
Occasional Contributor

Re: Default directory for initial WSDL

averhoev_0-1632394905059.png

I want to change the value of variable user.dir. However, I can not find this variable in the file SoapUI-x-x-x /bin/soapui.bat. Do you know how I can add this variable in this file?

averhoev
Occasional Contributor

Re: Default directory for initial WSDL

@Echo off

set SOAPUI_HOME=%~dp0
if exist "%SOAPUI_HOME%..\jre\bin" goto SET_BUNDLED_JAVA

if exist "%JAVA_HOME%" goto SET_SYSTEM_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.
goto SET_SYSTEM_JAVA

:SET_BUNDLED_JAVA
set JAVA=%SOAPUI_HOME%..\jre\bin\java
goto END_SETTING_JAVA

:SET_SYSTEM_JAVA
set JAVA=java

:END_SETTING_JAVA

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"

:START

rem ********* run soapui ***********

"%JAVA%" %JAVA_OPTS% com.eviware.soapui.SoapUI %*
cd /d %OLDDIR%0o +++

 

Here you get the content of the file soapui.bat.

cancel
Showing results for 
Search instead for 
Did you mean: