[NEW ISSUE] WS-Transfer/Enum - iterating over large resources

WS-Transfer.get() will return the XML representation of a resource - 
however, what if the XML returned is just too large (either for the 
service or client) to deal with.  There needs to be a way for the client 
to iterate over the result - ie. pull back smaller pieces incrementally.

This might be possible today with WS-Transfer and WS-Enumeration however 
its not clear to me that is it - so if it is, I'd like to see some 
discussion of how to do this in one of the specs so that we have a 
well-known way to accomplish this that isn't service specific.  If this 
isn't possible today then I'd like to have the appropriate features added 
to one (both?) of the specs so that we can have an interoperable solution.

Its possible that using RT's fragment support is the way to do this - e.g. 
using xpath to pull back bits at a time - but I'm not sure that this is 
the best approach since it'll require the client to have intimate 
knowledge of the XML in advance.  It seems a more appropriate solution 
would be for the service to control which parts of the XML require 
cursors. 

Anyway, food for thought... :-)

thanks
-Doug
______________________________________________________
STSM  |  Web Services Architect  |  IBM Software Group
(919) 254-6905  |  IBM T/L 444-6905  |  dug@us.ibm.com

Received on Monday, 12 January 2009 19:34:43 UTC