[MOBY-dev] Verifying data

Martin Senger martin.senger at gmail.com
Fri Sep 22 22:00:54 UTC 2006


> I was thinking about this today. I would like to be able to retrieve this
> type
> of information via the API.


Do  not make things complicated...

1) Ping: Send an empty mobyContent and get back the same.

2) Service that does not have any input (e.g. HelloWorld service): Send an
empty mobyData and get back whatever service produces. (Of course, one can
send several empty mobyData within a single network request.)

3) Otherwise there should be a non-empty mobyData. If it is not, there is
something wrong with the input (possibly caused by an upstream service) - so
this service should no nothing, and return again an empty mobyData (and - I
think - it should propagate the exceptions in service notes, possibly adding
its own exception).

Cheers,
Martin

-- 
Martin Senger
   email: martin.senger at gmail.com
   skype: martinsenger



More information about the MOBY-dev mailing list