Hello,
*WebUI - if checked you will be able to see mock service log.
*MockService Endpoint - end point to your mock service
*War file - war archive which could be used for deploy
*War directory - directory where WEB-INF directory will be created, could be used for deploy...
I'm not sure is this helpful so I'll give you example:
I have a project called ValidateEmail. It have two mock services : "Test" and "ValidateEmailSoap MockService".
For mock service "Test" endpoint is set to "/test" ( check mock editor -> options ).
For mock service "ValidateEmailSoap MockService" is set to "/mockValidateEmailSoap".
This far should be familiar stuff..
Now, let go to project pop-up and choose Mock As War.
Enable WebUI, set endpoint to "vem". I'll put war file to "/home/robert/Documents/mockAsWar/mock.war" and
war directory : "/home/robert/Documents/mockAsWar/". To be clear here, you do not need to specify war directory
and war file could be put anywhere. I did this way since I like this way. Maybe it is confusing..
Now, click "Ok" and wait for soapUI to generate war file. You should have WEB-INF folder in war directory which is
contest of war file.
Deploying..Assuming you have already set up and running tomcat. Go to tomcat manager. At the bottom of page you should
have "Deploy" section. Under it in "WAR file to deploy set path to your created war file ( in my case is
"/home/robert/Documents/mockAsWar/mock.war" ). And click "Deploy".
Now you should see deployed war file ( as "/mock" ) under "Applications".
If you go to : "http://localhost:8080/mock/vem" you should see log page with link to wsdls ( one wsdl for each mock service you
created in project, remember I said I have two in my project ).
I can access to my mock services ( send requests ) with :
"http://localhost:8080/mock/test" -> for mock service "Test"
"http://localhost:8080/mock/mockValidateEmailSoap" -> for mock service "ValidateEmailSoap MockService"
As you can see "Mock As War" wraps all your mock services in one project. So, you are able to deployed them on your server.
In log you'll see every request sent to mock services with request, response and groovy script log ( since groovy could be
used for dispatching responses).
This should help you to go on with this feature. I hope I was not confusing. I hope you'll like this feature...
Let me know does it helps,
robert.