* the request
* @throws Exception
* the exception
*/
private void loadWebConfiguration(XMLStreamWriter writer, IWebRequest request) throws Exception {
WebConfiguration webConfiguration = WebContext.getWebConfiguration();
writer.writeStartElement("web-config");
String scDownloadService = webConfiguration.getScDownloadService();
writer.writeStartElement("scDownloadService");
if (scDownloadService != null) {
writer.writeCData(scDownloadService);
}
writer.writeEndElement(); // end of scDownloadService
String scUploadService = webConfiguration.getScUploadService();
writer.writeStartElement("scUploadService");
if (scUploadService != null) {
writer.writeCData(scUploadService);
}
writer.writeEndElement(); // end of scUploadService
Boolean scTerminateAllowed = webConfiguration.isScTerminateAllowed();
writer.writeStartElement("scTerminateAllowed");
writer.writeCharacters(scTerminateAllowed.toString());
writer.writeEndElement(); // end of scTerminateAllowed
writer.writeEndElement(); // end of web-config
}