Obsolete Exception Mechanism

Obsolete (API v0.86) bioMOBY errors specification

BioMOBY protocol specifies that errors in the service should be reported as an empty object, without additional or specific information about the error (see below).

Obsolete BioMOBY specifications to report errors

  • In the case of Retrieve calls, failure will be silent and an empty object of the associated output type will be returned.
  • 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!).

Obsolete BioMOBY specification also includes a serviceNotes element

There are two currently defined child elements of the mobyContent tag in a response message - mobyData, and serviceNotes. [?] The serviceNotes block is only loosely defined in this version of the API, and is currently meant to contain human-readable free text. serviceNotes are optional. The serviceNotes element is intended to contain general annotations reported by the service in the response message:
<?xml version="1.0" encoding="UTF-8"?>
<moby:MOBY xmlns:moby='http://www.biomoby.org/moby'>
<moby:mobyContent moby:authority='illuminae.com'>
<moby:serviceNotes>Human readable freetext</moby:serviceNotes>
<moby:mobyData moby:queryID='a1'>
<moby:Simple moby:articleName=''>
<moby:Object namespace='AGI_LocusCode' id='At3g19100'/>
</moby:Simple>
</moby:mobyData>
<moby:mobyData moby:queryID='b2'>
<moby:Simple moby:articleName=''>
<moby:Object namespace='AGI_LocusCode' id='At3g19100'/>
</moby:Simple>
</moby:mobyData>
</moby:mobyContent>
</moby:MOBY>