Markus,
I've been wondering about this too. My feeling is that we simply return
an empty document (xml definition at top, but empty otherwise). I think
defining a custom <NULL> or <NoMatches> element may be confusing because
with no envelope, the message should be an instance of some schema other
than TAPIR -- one that does not define <NULL> or <NoMatches>. I think
the first approach (empty doc) is less likely to break clients.
-Steve
Döring, Markus wrote:
I found an unsolved problem in my pywrapper notes today regarding envelope-less operations. If I request a TAPIR GET service search operation which doesnt match any results, what should be returned?
Without an envelope this would be an empty document without even a root!
Should we turn on the envelope in this case? Or return something like <NULL> or <NoMatches> defined by the protocol?
Markus
_______________________________________________
tdwg-tapir mailing list
tdwg-tapir@lists.tdwg.org
http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org
_______________________________________________
tdwg-tapir mailing list
tdwg-tapir@lists.tdwg.org
http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org