Uporaba ================ Primeri uporabe web servisa za Python in SOAP knjižico Suds, ki jo namestimo z: :: sudo easy_install suds Avtentikacija ------------- :: from suds.client import Client url = 'http:///lidar/LIDAR?wsdl' client = Client(url) auth_token = client.service.getAuthenticationToken('', '', '') if auth_token != None: print 'Authenticated! Auth token: %s' % auth_token Zaklep ------ :: lock_token = client.service.getLockToken(auth_token) if lock_token != None: print 'Locked! Lock token: %s' % lock_token Odklep ------ :: unlock = client.service.unlock(lock_token) if unlock: print 'Unlocked!'