Reputation: 3
I have a scenario, where in an external application's client will be sending a soap message to SoapUI tool and the SoapUI tool should send a automated response message(multiple responses) back to the external application. Can this auto response be achieved by using SoapUI tool, if so how it can be achieved? Also need directions on below points if the above mentioned scenario is legitimate using SoapUI
If someone could help me in clarifying the above points would be of great help.
Upvotes: 0
Views: 161
Reputation: 3538
What you seem to be describing is using soapUI as a web service endpoint, which isn't how it works. Instead, soapUI is used to connect to web service endpoints and test them, not the other way around.
But, what you could do is create a mock service. This is where you create a virtual service that imitates a real web service and which returns canned responses to clients. There are plenty of options for creating these responses so your mock service can look very close to the real thing. Typically a mock runs within soapUI, but you can also export it to a WAR file and run it in something like Tomcat if you need to expose it external clients.
But, mocks are not intended to be a production deployment; they're primarily a tool that allows you to keep working when a web service endpoint is unavailable or perhaps under active development or to create demos.
Upvotes: 1