Sha256: eeac71dbb0b2599d8bf4ac0dc514917282bfd0a56aaf77aa2b3899d111fb932f

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 Bytes

Contents

require 'spec_helper'

describe 'rpc/encoded binding test' do

  it 'should should work with WSDLs that have rpc/encoded SOAP binding' do
    client = Savon.client(
        :wsdl => "http://www.boyzoid.com/comp/randomQuote.cfc?wsdl",
        :open_timeout => 10,
        :read_timeout => 10,
        :log => false
    )

    begin
      client.call(:get_quote)
    rescue Savon::SOAPFault => e
      $stderr.puts e.to_hash.inspect
      f_c = e.to_hash[:fault][:faultstring]
      expect(f_c).not_to  eq('No such operation \'getQuoteRequest\'')
      expect(f_c).to eq('lucee.runtime.exp.DatabaseException: ')
      pending e
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
savon-2.12.1 spec/integration/random_quote_spec.rb
savon-2.12.0 spec/integration/random_quote_spec.rb
savon-2.11.2 spec/integration/random_quote_spec.rb