Sha256: 9bacae11a389950986beefb0425ad2445a52f623c18860068f695d8811f4f150

Contents?: true

Size: 839 Bytes

Versions: 61

Compression:

Stored size: 839 Bytes

Contents

require 'soaspec'

# This class is not part of the gem. It's an example of a class you can make
# to describe your APIs. Usually this would exist in the 'lib' directory
# Common configuration for the Savon client should go here
class BLZService < Soaspec::SoapHandler
  # Add to or override default Savon client options
  def savon_options
    {
      wsdl: 'http://localhost:4999/BLZService?wsdl'
    }
  end

  strip_namespaces true # This allows namespace not to be used. Be careful with this

  # # Specifying that get_weather_result must be present in the SOAP response
  mandatory_elements [:plz]

  # Example of xpath value that must be true for all success scenarios
  mandatory_xpath_values 'ns1:bezeichnung' => 'Deutsche Bank'

  # Example of setting an attribute on the root XML element
  root_attributes 'Version' => '1'

end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
soaspec-0.3.11 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.10 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.9 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.8 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.7 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.6 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.3 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.2 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.3.1 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.32 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.31 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.30 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.29 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.28 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.27 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.26 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.25 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.23 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.22 lib/soaspec/generator/lib/blz_service.rb.erb
soaspec-0.2.21 lib/soaspec/generator/lib/blz_service.rb.erb