* </p>
*
* @return
*/
public static WFSDTO newWfsDto() {
WFSDTO dto = new WFSDTO();
dto.setCiteConformanceHacks(true);
ServiceDTO service = new ServiceDTO();
service.setAbstract("test abstract");
service.setAccessConstraints("NONE");
service.setEnabled(true);
service.setFees("NONE");
service
.setKeywords(new String[] { "test", "mock", "service", "config" });
service.setMaintainer("Gabriel Roldan");
service.setName("WMS");
try {
service.setOnlineResource(new URL("http://www.axios.es"));
} catch (Exception e) {
// no-op
}
service.setTitle("My mock WMS");
dto.setService(service);
dto.setServiceLevel(WFSDTO.COMPLETE);
return dto;
}