roxsoap (version 0.2, 2005-09-19)
index
roxsoap.py

A quick-and-dirty helper module to do SOAP RPCs to ROX-Filer.
 
Usage:
>>> proxy = RoxSOAPProxy()
>>> proxy.Version()
 
To see, which SOAP RPC calls are supported:
>>> print proxy._methods
 
For the method arguments, please see the ROX manual (appendix C).
 
If a method takes arguments, you have to specify them as keyword arguments
(case-sensitive!):
>>> proxy.FileType(Filename='movie.avi')
(u'video/x-msvideo',)
 
Only the following types are supported as arguments values:
- (Unicode) strings
- Lists of (unicode) strings
- All other types will be converted to unicode strings, which may not be
  what you want. Boolean types will work, though.
 
All methods return a tuple of unicode strings or None.

Download: roxsoap.py (5kB)

 
Modules
       
xml.dom.minidom
os
sys

 
Classes
       
exceptions.Exception
SOAPRPCError
RoxSOAPProxy

 
class RoxSOAPProxy
    A wrapper for SOAP RPC calls to ROX-Filer.
 
  Methods defined here:
__getattr__(self, name)
__init__(self, debug=False)

 
class SOAPRPCError(exceptions.Exception)
     Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
Data
        __all__ = ['RoxSOAPProxy', 'SOAPRPCError']
__author__ = 'Christopher Arndt'
__copyright__ = 'Python license'
__date__ = '2005-09-19'
__version__ = '0.2'

 
Author
        Christopher Arndt