Sha256: c950c49b2afcfd2c5a7b9e46a1378eb873a90a618704c6cea3cf4b0d68f36f00

Contents?: true

Size: 864 Bytes

Versions: 1

Compression:

Stored size: 864 Bytes

Contents

module Savon

  # Supported SOAP versions.
  SOAPVersions = [1, 2]

  # SOAP xs:dateTime format.
  SOAPDateTimeFormat = "%Y-%m-%dT%H:%M:%S"

  # SOAP xs:dateTime Regexp.
  SOAPDateTimeRegexp = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/

  # Raised in case of an HTTP error.
  class HTTPError < StandardError; end

  # Raised in case of a SOAP fault.
  class SOAPFault < StandardError
    
    attr_reader :error_code
    
    def initialize(message, error_code)
      super(message)
      @error_code = error_code
    end
    
  end

end

# standard libs
%w(logger net/https openssl base64 digest/sha1 rexml/document).each do |lib|
  require lib
end

# gems
require "rubygems"
%w(builder crack/xml).each do |gem|
  require gem
end

# core files
%w(core_ext wsse soap request response wsdl client).each do |file|
  require File.dirname(__FILE__) + "/savon/#{file}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
savon-xaop-0.7.2.5 lib/savon.rb