Exception: WSDL::UnsupportedWSDLVersionError

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

Overview

Raised when a WSDL document uses an unsupported WSDL version.

Currently only WSDL 1.1 is supported. WSDL 2.0 documents (namespace http://www.w3.org/ns/wsdl) are detected and rejected with a clear error message.

Examples:

begin
  client = WSDL::Client.new('http://example.com/service?wsdl')
rescue WSDL::UnsupportedWSDLVersionError => e
  puts "WSDL version not supported: #{e.message}"
end