Problem with SELECT operation with Odata Protocal v3, issue with DataServiceVersion 1.0

Jul 26, 2012 at 10:54 AM

Hi there,

i got a error  when using SELECT operation when use DataOperationRespone::select

Exception message is : 'The DataServiceVersion '1.0' is too low for the request. The lowest supported version is '2.0'

 

My service system is using Protocol V3 (that's only support DataServiceVersion 2.0 and 3.0)

so my question is :

is OdataSDK1.3 support with DataServiceVersion 2.0 or 3.0 ?

if it's supported, how to implement ?

i tried  with the codes below, but it doesnt work.

proxy = [[GlobalchowContext alloc] initWithUri:[NSString stringWithFormat:@"%@",  [[[NSBundle mainBundle] infoDictionary] objectForKey:@"Service_uri"]] credentials:nil dataServiceVersion:@"2.0"];

by this way: result  is null;

[self.proxy setDataServiceVersion:@"2.0"];

btw: dont work too, i have checked Header again with onAfterRecieve but it's still 1.0 instead of 2.0

 

any solution for this ?