Consuming HTTP Services in Python Transcripts
Chapter: Calling SOAP services from Python
Lecture: Concept: SOAP services from a tool-based ecosystem

Login or purchase this course to watch this video and the rest of the course contents.
0:01 In Python, the best way to access Soap services, is to use this package called Suds, you got to love the name, right,
0:10 Soap Suds, it's beautiful, so it's a great name and you can see, Suds is a lightweight, Soap Python client for consuming web services,
0:18 and it has things like no class generation, you can just do this in runtime, in runtime it will read the wsdl and it will actually generate
0:27 all the information it needs for you to work with, it provides an object API which means you create classes and interact with it by calling functions
0:34 on those classes just like we saw in the tooling example, and it supports a bunch of Soap protocols, so this is great, right,
0:40 well, if you look a little carefully here and- hm, not so great. Modified five years ago. Now, technically it still works but it has problems
0:49 namely it only supports Python 2 and because Python 2 is end of life, in 3 years, this is unfortunate, so are we just out of luck, well,
0:59 I mean, obviously this is open source, somebody could come along
1:03 and fix this problem because whoever created it has kind of left it to wither over here.
1:07 But luckily, a guy named Jurko already did, so thank you very much for that Jurko, you can see over here on bitbucket.org/jurko/suds
1:16 that now we have a Python 3 compatible version of this, it said it's hopefully a temporary fork but given that other one was updated 5 years ago,
1:26 I think temporary is becoming permanent. So nonetheless, thank you Jurko, we're going to use the suds-jurko package
1:33 rather than the straight up suds for working with Soap services in Python especially in Python 3 right.


Talk Python's Mastodon Michael Kennedy's Mastodon