public static String serverGenerateSoapResponse(String response, String exception) {
    if (exception != null) {
      return (GuiServer.$SOAP_EXCEPTION_PREFIX$ + exception + GuiServer.$SOAP_EXCEPTION_SUFFIX$);
    }
    else {
      return (GuiServer.$SOAP_RESULT_PREFIX$ + response + GuiServer.$SOAP_RESULT_SUFFIX$);
    }
  }