This content has been marked as final. Show 3 replies
How do you handle it in your processes? Please share your experience, I'll be grateful.
To handle this, you just to need place empty <DataArea> as below when the service provider returns no results for the query.
Let me know if you have any queries.
Edited by: Rahul on Aug 31, 2012 3:33 AM
thanks for your input.
Returning an empty DataArea creates a need for an extra check on the client site (not a big deal maybe). Wouldn't it be more natural to return no DataArea (not allowed by the current schema) at all or throw a business exception (not all cases are business exceptions)?
Is there a purpose for restricting its occurence to 'at least 1'?