microsoft-dpe/wa-toolkit-ios — Issue #28: Capturing Storage Analytics settings
Author: darden88
Created: 2011-10-30 00:42:44+00:00
State: open

I'm working with the iOS Toolkit to manage and capture storage analytics. I'm stumped with getting the table settings (http://msdn.microsoft.com/en-us/library/hh452238.aspx). Basically I'm working with the method:

- (WACloudURLRequest *)authenticatedRequestWithURL:(NSURL *)serviceURL blobSemantics:(BOOL)blobSemantics queueSemantics:(BOOL)queueSemantics httpMethod:(NSString*)httpMethod contentData:(NSData *)contentData contentType:(NSString*)contentType args:(va_list)args

and feeding in the appropriate url. For tables, that would be http://..table.core.windows.net/?restype=service&comp=properties.

I've had sucess retrieving my Storage Analytics settings for blobs & queues. Also, I've used the same creds against tables to perform a basic fetchTables command, which works. However, requesting SA settings against tables always fails with an UnAuthorized error.

I'm wondering if this is related somehow to what you're using to build the AuthKey in the header, and whether the values are appropriate for Storage Analytics. I'm working on it, but just wondering if you have any insight.