Skip to content

Instantly share code, notes, and snippets.

@niklasb
Created August 10, 2012 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niklasb/3318976 to your computer and use it in GitHub Desktop.
Save niklasb/3318976 to your computer and use it in GitHub Desktop.
More from Savon
require 'savon'
url = 'http://kim-cm-bts01.scc.kit.edu/HeadingTreeService/HeadingTreeService.svc?wsdl'
client = Savon::Client.new do
wsdl.document = url
http.proxy = "http://dtun.de:9999"
http.auth.basic "heroku", "XXX"
end
client.request :kit, 'GetHeadingTreeReq' do
term = "SS 2012"
binding.pry
soap.namespaces["xmlns:kit"] = "http://KIT.Campus.Migration.KIM.Service.EventService.GetHeadingTree"
soap.body = { 'Semester' => term }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment