Posting here on what worked for me. In looking at https://wiki.python.org/moin/WebServices 1. ran pip2 install --user suds as the splunk user. 2. afterwards, copy ~/.local/lib/python2.7/site-packages/suds/ to $splunk_home/etc/apps/<my_app>/bin 3. if I now run a python script under $splunk_home/etc/apps/<my_app>/bin using the built in splunk python (ie /opt/splunk/bin/splunk cmd python), I can run these commands >>> from suds.client import Client
>>> client=Client("http://www.dneonline.com/calculator.asmx?WSDL")
>>> print client
Suds ( https://fedorahosted.org/suds/ ) version: 0.4 GA build: R699-20100913
Service ( Calculator ) tns="http://tempuri.org/"
Prefixes (0)
Ports (2):
(CalculatorSoap)
Methods (4):
Add(xs:int intA, xs:int intB, )
Divide(xs:int intA, xs:int intB, )
Multiply(xs:int intA, xs:int intB, )
Subtract(xs:int intA, xs:int intB, )
Types (0):
(CalculatorSoap12)
Methods (4):
Add(xs:int intA, xs:int intB, )
Divide(xs:int intA, xs:int intB, )
Multiply(xs:int intA, xs:int intB, )
Subtract(xs:int intA, xs:int intB, )
Types (0):
>>> client.service.Add(5,6)
11 I could not get this to work with zeep though.
... View more