Skip to content

Basic IP Control Query Using SOAP API in Python

Notifications You must be signed in to change notification settings

Neiby/IPControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Basic IP Control Query Using SOAP API in Python

This solves a problem found here:

https://stackoverflow.com/questions/29433648/soap-suds-ipcontrol-exportdevice/45201107#45201107

One problem is that the session ID you need to extract is missing from client.last_received(). I had to use some MessagePlugin code I found elsewhere to get the raw XML, then used a regex to extract the session ID. Next, I used much of your code to build the new SOAP header, but used 'sessionID' instead of 'SessionId'. Once I had all those pieces in place, it worked. Here is some basic query code that initializes and executes exportChildBlock().

About

Basic IP Control Query Using SOAP API in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages