Forum Discussion
- redfish4ktc2Super Contributorhi, in SoapUI 5.0, rest services feature is not available in the war
If you had soap mock services in you project, you would have been able to export the war but the rest service would not have been available in the war
It should be in the next version (see this commit https://github.com/SmartBear/soapui/com ... d47e6a5d44) - saravananramamoContributorHi,
Thanks for your info.,
Thanks & Regards
Saravanan Ramamoorthy - bhaskarmamandurNew ContributorHi,
Can you please let me know when is the next version planned, where we can use deploy as war option for REST Mock services?
Thanks & Regards,
Bhaskar - redfish4ktc2Super ContributorI don't have this information, current release notes for the next version does not provide any date, nor that the war will manage rest mock services (see https://github.com/SmartBear/soapui/com ... 6b2085d7fd)
by the way, you can force the war generation by using the command line tool (in the soapui bin directory)
you can compile the servlet class in the dev branch and store it in the war in place of the existing one
if you need more information about this workaround, i can help you on that - Hi,
I need info about the workaround you proposed.
May I have your help?
Thanks - redfish4ktc2Super Contributoryes
1st you have to use the wargenerator sh/bat file in the bin directory. There is no online help for this but running it without any argument will display a small help
In parallel, you need to build the 'rest-mock-as-war-SOAP-1231' dev branch to get the new servlet implementation, then retrieve the servlet class and replace this in your war.
If needed, I can build this class for you (I won't have time to do it before this week end). Note that I have not tested the resulting war but I am interesting on the result - redfish4ktc2Super Contributor@annalisac, did you have time to check my proposal?
If it works, you can simplify the process by modifying directly the soapui.jar file in the bin/lib directory. This will avoid modifying the war after each generation - redfish4ktc2Super ContributorHi, this feature is now available in SoapUI 5.1
- We cannot get the REST mock services to work with 5.1 (Community Edition). Can some please tell me if this should work or not?
- redfish4ktc2Super ContributorHi danbartlett
yes it should work.
As Soapui 5.1 is not available in binary form (at least SmartBear does not provide the binaries), can you tell me if you build SoapUI by yourself from sources and if yes how did you do? The problem may come from the build