Updated: 3/5/2002; 1:02:01 PM.
Kevin Altis' Radio Weblog

PythonCard, Python, and opinions on whatever technology I'm dabbling in these days like XML-RPC and SOAP.

Categories: Python, PythonCard, Web Services (XML-RPC and SOAP)
        

Thursday, February 07, 2002

Mark Pilgrim's article about web services in Python contains one important bit that is often overlooked by people implementing web services with XML-RPC, the listMethods extension. The Python Server Objects documentation explains each method: listMethods(), methodSignature(), and methodHelp().

listMethods() and its companions provide much of the same information for an XML-RPC service as WSDL does for a SOAP service and if everyone that runs an XML-RPC service would provide these methods it would take a lot of wind out of the sails of WSDL. There is no need to define any additional standards, we already have a solution. Of course, the information provided is human readable, not machine readable, so if we wanted a more machine readable form, we could define some companion methods that always output XML. WSDL is not really human readable and I haven't seen any human readable SOAP service description.

XML-RPC in Python on O'Reilly ONLamp shows how these methods are utilized by meerkat.


11:49:13 AM    


© Copyright 2002 Kevin Altis.
 
February 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28    
Jan   Mar




Click to see the XML version of this web page.