[MOBY-dev] Large amounts of requests from always the same IPaddress - 137.82.67.190
Björn Usadel
usadel at mpimp-golm.mpg.de
Tue Jul 4 13:25:21 UTC 2006
Actually,
I interpreted it the same way, so I always send back a serviceNote
either 700_OK or whatever I consider the main error is at that moment.
However, I guess this should be ok, if only the mobyData block is
evaluated. Since exception and notes are decoupled from the data block.
A problem might rather be the statement that "the same" data block is
returned, since IMHO there would be different ways to write the same
message, but I guess this is covered by keepAlive.
I generally think it is a good idea, to test service availability and
would even support to go further as to supply input/output pairs. Since
I can figure out if a service is alive but not if I get back what I
expected (e.g. always an empty data block)
The API description is here:
"There must be as many mobyData response elements as there were mobyData
input elements (if a service can not respond to a specific query for
whatever reason, this element may be empty!)"
http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Docs/MOBY-S_API/OutputMessage.html
Cheers,
Björn
Martin Senger wrote:
>> It returns an empty mobyData block but because it fails the input
>> validation step - the service is not expecting an empty input mobyData
>> bloc,so it returns in the service note the exception code, 201 -
>> "INPUTS_INVALID"
>>
> See, Mark? It seems that I am not the only one who did not know that
> this is part of the API :-)
>
> Martin
>
--
-+-+-+-+-+-+-+-+-+-+-+-
Björn Usadel, PhD
Max Planck Institute of Molecular Plant Physiology
System Regulation Group
Am Mühlenberg 1
D-14476 Golm
Germany
Tel (+49 331) 567-8114
Email usadel at mpimp-golm.mpg.de
WWW mapman.mpimp-golm.mpg.de
More information about the MOBY-dev
mailing list