Comments
-
I've tried it all three ways. Empty dictionary, Cisco dictionary, no Dictionary. Maybe it works because you are using a different SOAP client?
-
#!/usr/local/bin/python import datetime import time from suds.client import Client url = "https://solarwinds.com:17778/SolarWinds/InformationService/v3?wsdl" swis = Client(url, username='user', password='password') swis.set_options(port='BasicHttpBinding_InformationService') x=swis.service.QueryXml("SELECT TOP 1 Uri FROM…
-
Still getting [mb2178@cpliis4i solar]$ ./npm.py Traceback (most recent call last): File "./npm.py", line 30, in <module> x=swis.service.QueryXml("SELECT TOP 1 Uri FROM Orion.Nodes WHERE Vendor='Cisco'",d) File "build/bdist.linux-x86_64/egg/suds/client.py", line 228, in __call__ File…
-
Awesome!! If I hard code the URI you dictionary model works perfectly. Can you help me to figure out the QueryXml? Sincerely, Scott
-
This syntax is helpful thanks. I thought I would start off slow. But I'm missing something. I noticed the WSDL says the QueryXML syntax is QueryXml(xs:string query, ns4:dictionary parameters, ) Do I need to pass it an empty dictionary or None? It didn't like the ways I tried to do that. ### Grab Info From Solarwinds from…
-
#!/usr/local/bin/python url = "https://localhost:17778/SolarWinds/InformationService/v3?wsdl" ### Grab Info From Solarwinds from suds.client import Client client = Client(url, username='user', password='password') client.set_options(port='BasicHttpBinding_InformationService') # Print out Key ## READ nodeId = 1 uri =…
-
I'm using suds with the code from above. It works great for a Read, but the QueryXml gives that error. I'm still trying to figure out the proper syntax of the dictionary for Update to update custom properties.
-
No I have not. It just got stuck on the back burner.
-
This is awesome, but the QueryXML is not working right for me. I'm getting a ValueError: need more than 0 values to unpack. Any ideas what I'm missing? It appears to be some syntax or something. The line before the ValueError shows "suds/resolver.py", line 361, in findattr Thanks!!
-
Exception : System.IO.FileNotFoundException: Could not find file 'C:\Users\userid\AppData\Local\Temp\nr900abq.dll'. File name: 'C:\Users\userid\AppData\Local\Temp\nr900abq.dll' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,…