The Miser Project status 
 
privacy 
 
contact 

Collaborative articulation of how abstraction and language is employed in the computational manifestation of numbers -- including analysis of the role of syntax, semantics, and meaning in the specification and use of software interfaces.

This page is powered by Blogger. Isn't yours?

Recent Items
 
Service interface experiences
 
Compiling Num.java 0.1x
 
Deja Double Vu
 
Blog Restored
 
Unorganized set of references: to be evaluated
 
Document-centric integration; perils of API's
 
Libraries and Platform Independence
 
"External" Interface Contracts
 
Interfaces, Protocol Extensibility, and Versioning
 
A Fine Kettle of Fish, indeed.

Archives
2004-05-30
2004-06-06
2004-06-13
2004-06-27
2004-08-22
2004-08-29
2004-10-03
2004-12-05

2004-12-09

Service interface experiences

Jacques Distler has an informative post about his experience in using the newly available National Weather Service XML data service.

What's interesting in this post for the Numbering Peano exercise is the story of how Distler comes to actually get it to work. What's interesting is how expectations are set by what the NWS says it's interface is, and how the errors returned don't make it easy to fix the code. Distler summarizes two lessons:


1. Well-formed, valid, input should produce well-formed output. The format parameter is declared to be of type xsd:string. If the string I send you isn’t one of the ones you were expecting, send me an error-response. Don’t let your application blow up in my face.
2. As Sam Ruby notes below, it would be better to send the response as XML, rather than as an escaped string.


Something to consider as we work through how sense is made from interface specifications.

 
Comments: Post a Comment
 
Construction Zone (Hard Hat Area) You are navigating the Miser Project

template created 2004-05-31-22:34 -0700 (pdt) by orcmid
$$Author: Orcmid $
$$Date: 05-04-18 18:55 $
$$Revision: 1 $