wash-out

rails pass soap basic auth with savon

*爱你&永不变心* 提交于 2019-12-10 11:54:18
问题 I'm trying to send soap request with basic authentication with savon gem My soap server is set up with wash_out gem class OrdersController < ApplicationController soap_service namespace: 'sir:WashOut', wsse_username: SIRA[:auth][:username], wsse_password: SIRA[:auth][:password] .... When i make a request to soap server via savon i get an error: @client = Savon.client( wsdl: "http://localhost:3000/orders/wsdl", soap_header: { 'Username' =>SIRA[:auth][:username], 'Password' => SIRA[:auth][