iro/view/xmlrpc.py
changeset 312 42fd5075a5d1
parent 296 a73bbc1d8b4b
--- a/iro/view/xmlrpc.py	Wed Jun 21 00:52:38 2023 +0200
+++ b/iro/view/xmlrpc.py	Tue Apr 15 01:19:47 2025 +0200
@@ -20,7 +20,8 @@
 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 # -*- coding: utf-8 -*-
-from twisted.web import soap, xmlrpc
+#from twisted.web import soap
+from twisted.web import xmlrpc
 
 from ..controller.viewinterface import Interface
 
@@ -67,25 +68,25 @@
         return xmlrpc.XMLRPC._ebRender(self, failure)
 
 
-class SOAPInterface(TwistedInterface,soap.SOAPPublisher): 
-    """SOAP interface"""
-    def __init__(self):
-        soap.SOAPPublisher.__init__(self) 
-        TwistedInterface.__init__(self)
-        
-    def lookupFunction(self, functionName):
-        if functionName in self.listProcedures():
-            function = getattr(self, functionName, None)
-            if function:
-                return function, getattr(function, "useKeywords", False)
-            return None
-        else:
-            return None
+#class SOAPInterface(TwistedInterface,soap.SOAPPublisher): 
+#    """SOAP interface"""
+#    def __init__(self):
+#        soap.SOAPPublisher.__init__(self) 
+#        TwistedInterface.__init__(self)
+#        
+#    def lookupFunction(self, functionName):
+#        if functionName in self.listProcedures():
+#            function = getattr(self, functionName, None)
+#            if function:
+#                return function, getattr(function, "useKeywords", False)
+#            return None
+#        else:
+#            return None
 
 def appendResource(root):
     """adding XML-RPC and SOAP to root."""
     root.putChild('RPC2', XMLRPCInterface())
-    root.putChild('SOAP', SOAPInterface())
+    #root.putChild('SOAP', SOAPInterface())
 
 if __name__ == '__main__':
     from twisted.web import resource, server