forked from ArnoudRoo/HPE_Ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.rb
More file actions
30 lines (22 loc) · 628 Bytes
/
Copy pathtest.rb
File metadata and controls
30 lines (22 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require_relative 'core/environment/pe_env'
a = PeEnv.new
a.store = "blaat"
a = "bla="
puts a[/(.*)=/,1]
#require "savon"
## create a client for your SOAP service
#client = Savon::Client.new("http://peopleask.ooz.ie/soap.wsdl")
#
#puts client.wsdl.soap_actions
## => [:create_user, :get_user, :get_all_users]
#
## execute a SOAP request to call the "getUser" action
#response = client.request(:get_questions_about) do
# soap.body = { }
#end
#
#res = response.body.to_hash
#puts res[:questions][:item][0]
#puts "a"#response.body.Questions
## => { :get_user_response => { :first_name => "The", :last_name => "Hoff" } }
#