Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create MockService in soapUI without wsdl

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL from request and response examples with soapUI but I'm not able to find any tutorials about it.

like image 334
vrm Avatar asked Jan 19 '10 08:01

vrm


2 Answers

You can just trick SOAPUi with some dummy WSDL, at least with a single request/response definition! Just replace the requests it generates with the XML document you wanted. You an also add additional requests with entirely different request/responses by copy and pasting!

like image 70
Budi Avatar answered Oct 28 '22 16:10

Budi


Just with request/response you may not be able to construct the WSDL. If you have the end point URL, append '?wsdl' to the end point URL,open it in a browser, you should get the WSDL.

Also if you have the schema with you, you can try generating WSDL file from here

like image 30
Ravi Gupta Avatar answered Oct 28 '22 18:10

Ravi Gupta