public Response submit(Transaction transaction) {
   logger.info("submit()->called");
   Response response = new Response();
   ResponseError responseError = new ResponseError();
   try {
     response = managementTransactionsService.submit(transaction);
   } catch (Exception ex) {
     response.setResponseCode(HttpStatus.INTERNAL_SERVER_ERROR.value());
     responseError.setMessage(ex.getMessage());
     responseError.setErrorCode(String.valueOf(HttpStatus.INTERNAL_SERVER_ERROR.value()));
     response.setData(responseError);
     logger.error(ex);
   }
   return response;
 }
  /*
   * (non-Javadoc)
   * @see com.xmdevelopments.services.AuthService#submit()
   */
  @Override
  public Response submit() {
    String prefix = " submit()";
    logger.info(prefix + "->called");

    Response response = new Response();
    ResponseError responseError = new ResponseError();
    try {
      // Assumed that passed the WSSE validation
      // TODO authentication procedure
      response.setResponseCode(HttpStatus.OK.value());
      response.setData("Authentication successful");
    } catch (Exception ex) {
      response.setResponseCode(HttpStatus.INTERNAL_SERVER_ERROR.value());
      responseError.setMessage(ex.getMessage());
      responseError.setErrorCode(String.valueOf(HttpStatus.INTERNAL_SERVER_ERROR.value()));
      response.setData(responseError);
      logger.error(prefix, ex);
    }
    return response;
  }