Method: Soaspec::SoapHandler#default_options
- Defined in:
- lib/soaspec/exchange_handlers/soap_handler.rb
#default_options ⇒ Hash
Default Savon options. See savonrb.com/version2/globals.html for details
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/soaspec/exchange_handlers/soap_handler.rb', line 48 def { ssl_verify_mode: :none, # Easier for testing. Not so secure follow_redirects: true, # Necessary for many API calls soap_version: 2, # use SOAP 1.2. You will get 415 error if this is incorrect raise_errors: false # HTTP errors not cause failure as often negative test scenarios expect not 200 response # Things could go wrong if not set properly # env_namespace: :soap, # Change environment namespace # namespace_identifier: :tst, # Change namespace element # element_form_default: :qualified # Populate each element with namespace # namespace: 'http://Extended_namespace.xsd' change root namespace # basic_auth: 'user', 'password' } end |