I’m new to SOAP but trying to get something set up. I was having trouble with my custom script so I tried going through the basic tutorial for converting temperatures from F->C and C->F. I am trying to run this script in the Script Tester:
from suds.client import Client
client = Client("http://www.w3schools.com/webservices/tempconvert.asmx?WSDL")
print client
Check to see if the suds directory exists in the user-lib/pylib directory where your Ignition is installed.
If it is missing then you will need to install it. You can download it from here: pypi.python.org/pypi/suds Uncompress and unpack the suds-0.4.tar.gz file. Then find the suds directory and copy it to user-lib/pylib.
Thanks, that seems to have worked. I did notice that when I unpacked that suds compressed folder it was names suds-0.4 so that’s how I pasted it into the user-lib folder. I also noticed that there was already a folder names suds with data in it so I’m not sure why it wouldn’t call from the suds folder but will from the suds-0.4 folder. I’ll let you know how it goes and thanks for your help!