Hi I have installed Soap UI...Like C, Java we will create some sample program. likewise i wanted to use some sample request and response..how to create a request and response without wsdl?
-
SOAP UI will create a request for you - if you have WSDL. If you don't, then you're on your own. How is SOAP UI supposed to help you in that case? – duffymo Mar 22 '11 at 10:07
-
any sample wsdl file is there? – ChanGan Mar 22 '11 at 10:15
-
7@duffymo - How SOAP UI can help? By probing or allowing the user to manually probe the functions and thereby build up a WSDL. For me, it's catch 22 - What's the point of SoapUI if I have a perfectly well defined WSDL in the first place? – Hein du Plessis Oct 17 '11 at 07:04
-
You can check this link to get started http://www.soapui.org/getting-started/your-first-soapui-project.html, you can also find sample wsdls too. – Rao Mar 04 '15 at 14:27
3 Answers
- Create new SOAP Project using File > New SOAP Project
- Set the name as required
- Leave the initial WSDL field blank
- On the Project Navigator Window to the left, mouse over the project folder and select New Rest Service from URI using the context menu
- Enter the enpoint you would like to send a SOAP message to, i.e. http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10
- Choose POST as the HTTP method
- Add your xml SOAP payload to the window in the bottom left
- Choose media type: text/xml from the combobox
- Click to green arrow to POST the message to the specified endpoint
- And voilà - you should see the SOAP response on right-hand side window :)

- 124
- 1
- 2
- 13

- 764
- 6
- 5
I wanted to send a SOAP request to a simple ASP.NET MVC Controller and the way I managed to do it using SoapUI was:
1) Create a SOAP request using any WSDL (no matter what WSDL you use, then you'll change it).
2) Open a request, change the URL and change the body of the request.
That way you can post a SOAP request with full control. Just in case it is useful, inside the controller I'm logging all the requests we receive using this in C#:
string requestData;
// Get raw request body
using (Stream receiveStream = Request.InputStream)
{
// Move to begining of input stream and read
receiveStream.Position = 0;
using (StreamReader readStream = new StreamReader(receiveStream, Encoding.UTF8))
{
requestData = readStream.ReadToEnd();
}
}

- 13,299
- 7
- 58
- 74
Although you asked this question a few years back and hopefully you have been able to find an answer to your question.
Here is my answer to your question, hopefully not too late.
SoapUI is meant to test API, web service. To start testing it requires access to a WSDL. That said a project can be created without a WSDL. The only time i can think of i would not need a wsdl would be when whatever I am testing is not a web service and can be testing using either JDBC step or groovy step or a similar step except the test request step.
In one of your comments you asked if a wsdl is available, yes there are site where publicly accessible wsdls are available you can check out the below site for wsdls.
http://www.xmethods.net/ve2/index.po
http://www.webservicelist.com/
http://www.webservicex.net/WS/wscatlist.aspx
Hope you are having better luck with soapUI than you had with this question.

- 1,857
- 1
- 31
- 51
-
Also, SoapUI itself comes with sample tutorials, which come with a WSDL. – SiKing May 23 '14 at 17:34