new text/xml project without WSDL
is it possible to create a project without WSDL?
Solved! Go to Solution.
I'm using ReadyAPI 3.10.0 and yes, you can create a new project and create API definitions without WSDL.
Click File - New Empty Project
@ChrisAdams After creating new empty project then when you hit to create Api Definition, it gives you only two options, Rest or Kafka, attached picture, no option for xml types or soap types?
Good point. I missed the XML bit. I also test a SOAP API, but I have a WSDL. That said, I could not see a way to handcraft calls to this API using SoapUI.
You can do this in Postman if you have an example request. You don't need the WSDL to create API definitions. Just the URL and body if applicable.
Creating a SOAP project using the .wsdl is just a shortcut to generate the requests generated on the SOAP service definition...it just abstracts out the headache of creating it manually.
You can still create SOAP requests using REST or HTTP. You just need to ensure youve got the payload, auth and headers inline with what the .wsdl defines. You start by creating an empty project and go from there.
It was a while ago, but i did this when i didnt have a wsdl either.
@richie my point is for new version(3.10.1), so when I go with that way, the specification is in json, and as you see in the screenshot the api shows blue(should be green) even though you add xml type.
just ignore that specification detail.
In your screenshot, you are at the point when you've created an empty project and you've added a REST API service at the top (blue arrows).
Can you see the '+ REST Resource' button at the middle of the top of the screen?
Hit that button and then add in the full URL of your SOAP service and specify POST method - this will get you started. You can then tailor your 'REST API' as though it's a SOAP Service'.
I know it sounds a bit bonkers and it's a bit annoying cos visually it looks like a REST API - but the SOAP endpoint you will be posting messages to isn't cognizant of what you can see in ReadyAPI. It might appear as a REST API in ReadyAPI, but as long as you tailor the http, the method (nearly always POST for SOAP), the full URL, the payload and the header parms correctly (you only get header parms in SOAP requests - you don't get matrix, query or URI parms) to match what would be generated if you'd created the project from importing the .wsdl, the endpoint you're publishing your messages to, won't know the difference.
hit me back if you have any further issues!