// create a service file for this geometry
ServiceList sl = new ServiceList();
Service service = sl.addGeometry("geometry.mxml", geo);
service.setName(getMapName());
sl.writeXML(getOutputDir() + File.separator + "service.sxml");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {