2 Webservice requests are any that refer to filename "search.pz2". Arguments
3 are GET-style parameters. Argument 'command' is required and specifies
10 Initializes a session. Returns session ID to be used in subsequent requests. Example:
12 search.pz2?command=init
18 <session>2044502273</session>
23 Keeps a session alive. An idle session will time out after one minute. The
24 ping command can be used to keep the session alive absent other activity. It
25 is suggested that any browser client have a simple alarm handler which
26 sends a ping every 50 seconds or so once a session has been initialized.
30 search.pz?command=ping&session=2044502273
40 Launches a search, parameters:
47 search.pz2?session=2044502273&command=search&query=computer
57 Provides status of ongoing search. Parameters:
63 search.pz2?session=2044502273&command=stat
68 <hits>7</hits> -- Total hitcount
69 <records>7</records> -- Total number of records fetched
70 <clients>1</clients> -- Total number of associated clients
71 <unconnected>0</unconnected> -- Number of disconnected clients
72 <connecting>0</connecting> -- Number of clients in connecting state
73 <initializing>0</initializing> -- Number of clients initializing
74 <searching>0</searching> -- ... searching
75 <presenting>0</presenting> -- ... presenting
76 <idle>1</idle> -- ... idle (not doing anything)
77 <failed>0</failed> -- ... Connection failed
78 <error>0</error> -- ... Error was produced somewhere
83 Shows records retrieved
93 search.pz2?session=2044502273&command=show&start=0&num=2
104 <title>How to program a computer, by Jack Collins</title>
105 <count>2</count> <!-- Number of merged records -->
109 Computer processing of dynamic images from an Anger scintillation camera :
110 the proceedings of a workshop /