- From: Larry Masinter <LMM@acm.org>
- Date: Thu, 11 Jan 2001 14:44:42 -0500 (EST)
- To: <xml-dist-app@w3.org>
All of the discussion about how simple it is to make a SOAP or
XMLRPC call is interesting, but of course, all of the examples
leave out the crucial and difficult part of any real program:
switching on all of the possible resulting states and dealing
with them appropriately.
For example, if you use HTTP, you need to decide what to do
if you get a 404 Not Found or a 500 Server Error or (more disturbingly)
a "301 Moved Permanently". How long do you wait if you do or
do not get a "100 Continue"?
> > import xmlrpclib
> > betty = xmlrpclib.Server("http://betty.userland.com")
> > print betty.examples.getStateName(41)
But then what happens? How do the various libraries either support
or hide all of the possible returns & conditions?
Received on Friday, 12 January 2001 05:11:31 UTC