Created
August 10, 2012 23:40
-
-
Save niklasb/3318976 to your computer and use it in GitHub Desktop.
More from Savon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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