My search for a SOAP library which:
Supports python 3
Is a server (not just a client)
osa - A small python library to consume SOAP services:
pip install hg+ssh://firstname.lastname@example.org/sboz/osa cl = osa.Client("http://phone.activ8rlives.com/spservice.asmx?wsdl") cl.types cl.service
Python simple and lightweight SOAP library for client and server webservices interfaces.
Looks like the SOAP stuff supports python 3
But it doesn’t support SOAP 1.2 (which I think is used by the API): http://spyne.io/docs/2.11/faq.html#does-spyne-support-the-soap-1-2-standard
This pull request did some work on SOAP 1.2: https://github.com/arskom/spyne/pull/386
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://aseptika.co.uk" xmlns:s1="http://aseptika.co.uk/AbstractTypes" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://aseptika.co.uk" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
One of the answers to the Stack Overflow SOAP 1.2 python client question
suds with a gist to support SOAP 1.2.
https://bitbucket.org/jurko/suds/overview is a fork of the original
project for python 3, but I don’t know if you can make a SOAP server. It is