Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A SOAP message that will retrieve a list of rooms in a roomlist from Exchange 2010.
// given the e-mail address of a roomlist, this SOAP message will retrieve the member rooms.
NSString *roomlist = @"roomlist1@domain.tld" // this is the e-mail address of the room list you're querying
NSLog(@"querying roomlist %@", roomlist);
NSString *soapMessage = [NSString stringWithFormat:@""
@"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
@"<soap:Envelope xmlns:xsd=\"\" xmlns:soap=\"\" xmlns:t=\"\" xmlns:m=\"\">"
@"<t:RequestServerVersion Version =\"Exchange2010_SP2\"/>"
@"", roomlist];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment