|
I'm using executeDSQueryContinuation with the continuation object that was returned by DataServiceQuery. It should be pretty straightforward, but the call generates an http 400 status code and no objects are returned. The response xml includes
this message:
Request version '1.0' is not supported for the request payload. The only supported version is '2.0'.
Am I doing something wrong? I'm essentially making this sequence of calls.
DataServiceQuery* theQuery = [[[DataServiceQuery alloc] initWithUri:queryString objectContext:theContext] autorelease];
QueryOperationResponse* response = [query execute];
DataServiceQueryContinuation* continuation = [response getContinuation:nil];
QueryOperationResponse* response = [databaseContext executeDSQueryContinuation:continuation];
NSArray* objects = [response getResult];
The results from executeDSQueryContinuation contains an empty array. Along the way, the status code 400 was encountered.
|