Monday, February 27, 2017

Calling SOAP Web service using requests module of Python 3.6.0

First you need to install request module else you will get following below error inside code when you try to import request module.
No module named 'requests' Python 3.6.0
use below command to install
c:\Test>pip install requests

Use following below code to call SOAP Webservice using WSDL

note:- This is our SOAP Response xml

<!--soapenv:Envelope xmlns:soapenv="">
      <!--ns:getKPIResponse xmlns:ns="">
         <!--ns:return xsi:type="ax21:KPIDo" xmlns:ax21="" xmlns:xsi="">

No comments: