public class XMLService {
public static String getCommunityXMLString(){
ConnectionsService svc = new sbt.ConnectionsService("connections");
HandlerXml handlerXML= new HandlerXml();
Document msg=null;
String xmlText = null;
try {
msg = (Document)svc.get("/communities/service/atom/communities/all",handlerXML).getData();
xmlText =DOMUtil.getXMLString(msg);
return xmlText;
} catch (ClientServicesException e) {
e.printStackTrace();