Print

Print


I think that 10: 'Illegal query' is logical in this case.  It isn't
inconsistent with SRW, it's just that the error gets caught one step earlier
with SRW.

Janifer

-----Original Message-----
From: Robert Sanderson [mailto:[log in to unmask]]
Sent: Monday, 28 April 2003 13:23
To: [log in to unmask]
Subject: Diagnostics vs SOAP faults


In SRW it is illegal to send a request that doesn't have a query or xQuery
parameter. Sending one is thus a client side error, and should generate a
SOAP Client fault.

However in SRU, we don't have these Faults.  Currently I just dump a super
brief and not very descriptive HTML page, but surely something better than
this can be done if the client sends an empty/null query?

For example: http://srw.o-r-g.org:8080/l5r/?query=

We have the catchall diagnostic 10: 'Illegal query' ... but then we're
diverging responses for broken requests between SRW and SRU...


Thoughts?

Rob

--
      ,'/:.          Rob Sanderson ([log in to unmask])
    ,'-/::::.        http://www.o-r-g.org/~azaroth/
  ,'--/::(@)::.      Special Collections and Archives, extension 3142
,'---/::::::::::.    Twin Cathedrals:  telnet: liverpool.o-r-g.org 7777
____/:::::::::::::.              WWW:  http://liverpool.o-r-g.org:8000/
I L L U M I N A T I