this.getLogger().debug6("..requesting calendar: " + calendarRequest);
calendarResponse = spooler.execute_xml(calendarRequest);
this.getLogger().debug6("..response received: " + calendarResponse);
SOSXMLXPath response = new SOSXMLXPath(new StringBuffer(calendarResponse));
String errorCode = response.selectSingleNodeValue("//ERROR/@code");
String errorText = response.selectSingleNodeValue("//ERROR/@text");
if ( (errorCode != null && errorCode.length() > 0) || (errorText != null && errorText.length() > 0) ) {
throw new Exception("error occurred requesting calendar [" + calendarRequest + "]: " +
((errorCode != null && errorCode.length() > 0) ? " error code: " + errorCode : "") +
((errorText != null && errorText.length() > 0) ? " error text: " + errorText : "")