You have SOAP Project as below
1. Create new TestSuite
2. Create new TestCase
3. Add Step >> SOAP Request
4. Update parameters if need. You can run SOAP Request to test it
5. Add Step >> Groovy Script.
Use this Script to save the response. Update the folder to store response if need
6. Run TestCase to test
7. The response will be created
8. Save Project As xml
9. Copy the project (xml) to [com.project.resource.ws] folder
Now, you can use the [RUN SOAPUI] keyword with specified Project, TestSuite & TestCase.
Similar to SOAP as above
But in step 3
3. Add Step >> REST Request
And Step 5. Use this Script to save the response. Update the folder to store response if need