@Override
    public void attachment(
        String contentType, InputStream content, Map<String, String> additionalHeaders)
        throws Exception {
      log.trace("attachment({})", contentType);

      if (handler != null) {
        handler.attachment(contentType, content, additionalHeaders);
      } else {
        throw new CodedException(X_INTERNAL_ERROR, "No soap message handler present");
      }
    }