Skip to content

Instantly share code, notes, and snippets.

View bmoussaud's full-sized avatar
😀

Benoit Moussaud bmoussaud

😀
  • Microsoft
  • Paris, France
  • 08:40 (UTC +02:00)
  • X @bmoussaud
View GitHub Profile
@bmoussaud
bmoussaud / 0_login.rb
Created March 10, 2016 16:19 — forked from yannvery/0_login.rb
Savon Client for SDM webservices - Request examples
require 'savon'
# Get wsdl
client = Savon.client(wsdl: "http://localhost:8080/axis/services/USD_R11_WebService?wsdl")
#login
response = client.call(:login, message: {username: "servicedesk", password: ""})
sid = response.body[:login_response][:login_return]