responseProperties = new String[]{"{\"Content-Type\" : \"text/xml\"}"};
responseProperties.put("Content-Type", "text/xml");
public byte[] handleRESTRequest(String capabilities, String resourceName, String operationName, String operationInput, String outputFormat, String requestProperties, String[] responseProperties) throws IOException {
Map<String,String> responsePropertiesMap = new HashMap<String, String>();responsePropertiesMap.put("Content-Type", "text/xml");
JSONObject contentType = new JSONObject(); contentType.put("Content-Type", "text/xml"); responseProperties[0] = contentType.toString();
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.