Is there a way i can get all users that are registered using InBand registration on openfire server. I have checked the following links :
1.ios-xmpp-framework-get-all-registered-users
2.ios-xmpp-framework-with-openfire-server-get-all-registered-users
but those links dont help . If i use the following code that is used in above links :
- (void)getAllRegisteredUsers {
NSError *error = [[NSError alloc] init];
NSXMLElement *query = [[NSXMLElement alloc] initWithXMLString:@"<query xmlns='http://jabber.org/protocol/disco#items' node='all users'/>"
error:&error];
XMPPIQ *iq = [XMPPIQ iqWithType:@"get"
to:[XMPPJID jidWithString:@"DOMAIN"]
elementID:[xmppStream generateUUID] child:query];
[xmppStream sendElement:iq];
}
i get 503 error code with service unavailable message . Can any one tell me if i am doing something wrong at the iOS end or the server is missing something. All suggestions are welcome.