Forum Discussion

spiderplant0's avatar
spiderplant0
New Contributor
9 years ago

SOAP version

Is it possible to change teh SOAP version when sending out SOAP requests with READY! API?

Similar questiosn mention changing it in the bottom left 'Request Properties' window, but I cant find the soap version there.

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you checked at interface level where you can choose the version? Is that what you mean?
    • spiderplant0's avatar
      spiderplant0
      New Contributor

      Thanks for the reply.

      So in the project window, go to your project name and then click on something underneath, eg 'DeviceBinding'

      I see SOAP 1.2 in the properties window below so I can change this to SOAP 1.1

      If I then click on a request below this, I get XML generated in the main window.

      But is still appears to be set to soap 1.2 because it reads:

       

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" ...

       

      This is  v1.2 

       

      SOAP 1.1. would be something like:

       

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" ...

       

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        Yes, please check with the wsdl provider to see the supported SOAP version. And as you mentioned, there is namespace difference between the two.
        If you wanted to send using 1.1, then change in one request step and hit the web service and see if it is working.

        Right now could not recollect if there is a way to automatically get the right namespace.
        But at least that allows you to proceed and try out the stuff to get started.