Updated: 5/10/2002; 7:44:37 AM.
Kevin Altis' Radio Weblog

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

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

Friday, April 19, 2002

Sam Ruby posted a simple SOAP message request for the Google API earlier today. The request is so simple that I had to read it over several times before I believed that it was a valid SOAP message. I had gotten so used to more complicated, almost unreadable SOAP messages and totally unreadable WSDL specifications that it was nice to see there was still some "Simple" left in SOAP.

Mark Pilgrim posted a comparison to the SOAP message using XML-RPC. I have to admit that in this case the XML-RPC actually looks more complicated.

What is sort of interesting is that in the case of XML-RPC, when using Python, I never see what goes over the wire and I never give much thought to the actual message body, just like I don't generally think about HTTP headers or individual TCP/IP message blocks. From Python, I just provide lists and dictionaries and native types to the xmlrpc calls and it does the necessary transformations. The problem I was having with SOAP was interop and just trying to connect to a SOAP service so I did have to look at the SOAP messages and WSDL and deal with their complexity. Users of MS Visual Studio.NET and automated Java tools building SOAP and WSDL probably feel the same way about using SOAP as I do about using XML-RPC. If we ever get true SOAP interop, the tools and libraries should hide the nastiness. As a general rule, XML should be produced and consumed by tools and never seen or edited by humans. It is for interchange, stupid.

Sam also produced the excellent guides: A Gentle Introduction to SOAP and A Busy Developer's Guide to WSDL 1.1. Those aren't all you'll need to know to use SOAP and WSDL, but Sam's site is a good place to start.


12:14:17 PM    

Thomas Heller posted a new Python search tool script for the Python manuals. Here's the announcement:

"A new Python-powered search engine is online at
http://starship.python.net/crew/theller/pyhelp.cgi

It searches for keywords in the Python manuals at http://www.python.org/doc/.

The script can also be downloaded, and can be configured to search HTML manual pages installed locally. The keyword index is build on the fly. It can also (probably) be easily integrated in your editor/ide to provide context sensitive help."

This is one of those cases, where Google - even when doing a site-specific search - often doesn't work as well as a topic-specific search tool. This script can be configured to search locally or remotely and the local search can include your own documentation. This could probably be integrated with pydoc or turned into a standalone desktop docs search tool.

I have the Python docs in Microsoft Help format, which has its own index and search built-in, but for some reason I generally end up looking at the plain HTML versions of the docs. What is even stranger, is that I find myself using the online HTML rather than the version on my desktop, which probably says something about habits.

I would still like to have a Google on the desktop that integrates the search results on my local hard disk with the web.


10:50:12 AM    


© Copyright 2002 Kevin Altis.
 
April 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 29 30        
Mar   May




Click to see the XML version of this web page.