mercredi 21 septembre 2016

How to make a pre-emptive basic authentication call using savon client in ruby?

I am doing the following code in savon but unable to do as it requires pre-emptive authorization. I have verified in soapUI but unable to run in savon. Could somebody help?

client = Savon.client(ssl_verify_mode: :none) do
  wsdl '/Users/sp/jda_notifications/TransportationManagerService.wsdl'
  endpoint 'http://localhost:8088/webservices/services/TransportationManager'
  basic_auth('VENTURE', 'VENTURE')
end

Aucun commentaire:

Enregistrer un commentaire