Forum Discussion

kadir's avatar
kadir
Occasional Contributor
3 years ago
Solved

new text/xml project without WSDL

is it possible to create a project without WSDL?
  • richie's avatar
    richie
    3 years ago

    Hey kadir 

     

    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!

     

    Cheers,

     

    Rich