1. In SoapUI, select File > New SOAP Project.
2. A popup will be displayed as below, we need to enter the project name as ‘calculator’
![](https://static.wixstatic.com/media/e084e9_b16462ddd76c42caa7afd5995e334269~mv2.jpg/v1/fill/w_855,h_414,al_c,q_80,enc_auto/e084e9_b16462ddd76c42caa7afd5995e334269~mv2.jpg)
3. In the dialog box, specify the following URL in the Initial WSDL field:
4. Leave the default settings and click OK
Applying the Add method:
1. In the left pane expand the add method and click the ‘Request 1’
2. Now it’s time to enter the input value for add method, replace the value in IntA & intB on the highlighted image (In this example we gave values as 3 &5.
![](https://static.wixstatic.com/media/e084e9_d372397da3204b4bb1d46c01912a1f74~mv2.jpg/v1/fill/w_728,h_378,al_c,q_80,enc_auto/e084e9_d372397da3204b4bb1d46c01912a1f74~mv2.jpg)
3. Click the play button, SOAP UI send the request to the configured wsdl.
4. Selected RAW table shows the response received code and 200 ok represents the successful transaction.
![](https://static.wixstatic.com/media/e084e9_effa9e61f175459cb2c47f28f1d3b28a~mv2.jpg/v1/fill/w_552,h_321,al_c,q_80,enc_auto/e084e9_effa9e61f175459cb2c47f28f1d3b28a~mv2.jpg)
5. Click XML tab to look for the result.
![](https://static.wixstatic.com/media/e084e9_da3c2be7881b43fab86cd8f0bd8e4e22~mv2.jpg/v1/fill/w_624,h_182,al_c,q_80,enc_auto/e084e9_da3c2be7881b43fab86cd8f0bd8e4e22~mv2.jpg)
6. Addresult tag holds the outcome of add method which we have send through the initial request.
7. Follow the same steps starting from 2 to 6 for other methods (Sub/div/multi).
Comments