Web Serivces in Python

I describe the details in the story with the same title you can check the description there, here I attached the direct code file so it's easy to run the code in your local system 
 

from suds.client import Client
_client = Client('http://www.dneonline.com/calculator.asmx?WSDL')
add = getattr(_client.service, 'Add')
print('addition = ', add(10, 12))

Here to install the suds use the command 
 

pip3 install suds-jurko==0.6

 



© 2020 Blog, All rights reserved.   This work is licensed under  Creative Commons License
Top