Exception: WSDL::UnresolvableImportError

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

Overview

Raised when a relative schema import/include cannot be resolved.

This occurs when a relative schemaLocation cannot be resolved because the current import context has no resolvable base location (file path or URL).

Examples:

begin
  # Relative imports require a resolvable base file/URL location
  parser_result = WSDL::Parser::Result.parse('<definitions>...</definitions>', http_adapter)
rescue WSDL::UnresolvableImportError => e
  puts "Cannot resolve import: #{e.message}"
end