Sha256: 15f2ccc37167568901da3be6be7b732dd59cf7dc548c3d8e107f7d49bfbb27c7

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 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]
      f_c.should_not  == 'No such operation \'getQuoteRequest\''
      f_c.should == 'soapenv:Server.userException'
      pending e
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
savon-2.5.1 spec/integration/random_quote_spec.rb
savon-2.5.0 spec/integration/random_quote_spec.rb
savon_with_adapter-2.4.1 spec/integration/random_quote_spec.rb
savon-2.4.0 spec/integration/random_quote_spec.rb
savon-2.3.3 spec/integration/random_quote_spec.rb
savon-2.3.2 spec/integration/random_quote_spec.rb
savon-2.3.1 spec/integration/random_quote_spec.rb