Exception: WSDL::SecurityError

Inherits:
FatalError show all
Defined in:
lib/wsdl/errors.rb

Overview

Base class for response security verification errors.

All errors raised during WS-Security response verification inherit from this class, making it easy to rescue all verification failures:

Examples:

Rescuing all security verification errors

begin
  response.security.verify!
rescue WSDL::SecurityError => e
  log_security_event(e.message)
end