amazon
amazon copied to clipboard
SimpleDB Select not working?
Hi folks- I'm about 10 hours in on this bug and can't figure it out. Am I missing something basic, or is this piece just not working?
I'm calling the following: AmazonSimpleDB service = new AmazonSimpleDBClient(accessKeyId, secretAccessKey); SelectRequest request = new SelectRequest(); request.SelectExpression = sql; SelectResponse response = service.Select(request);
It fails on AmazonSimpleDBClient.endOperation<T> with the good ol' null XML message.
{System.NullReferenceException: Object reference not set to an instance of an object
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in
I put a breakpoint inside getResponseCallback, change the state.RequestData from POST to GET, put it in my browser with the AWS prefix, and I see the response I'm looking for. Any suggestions heartily appreciated.
I think it's the same issue as this https://github.com/xamarin/amazon/issues/2
I may take a look this weekend