Displaying 2 results from an estimated 2 matches for "mywebservice".
Did you mean:
mdwebservice
2006 May 25
0
post to a webservice in an integration test?
...using
the session object in an integration test. I couldn''t find documentation on
how to do so, but perhaps I''m overlooking something. I would like to call a
webservice on my server in the following block:
def login
open_session do |sess|
...
sess.post "mywebservice/api", {:username => "username", :password =>
"password"}, #SOAP header info?
end
end
Any examples would be much appreciated.
Thanks,
Jaime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rai...
2007 Aug 21
1
handling of dynamic filecontent creation
...ance) {
exec {"create-webservice-script --ip $ip --instance $instance
--servicename $servicename$instance":
path => whatever,
alias => "create-webservice$servicename$instance"
}
}
#
Then I have n classes that use that definition:
#
class webserviceA_base {
$servicename = mywebservice
}
class webserviceA_01 {
create-webservice {"SomeService01":
ip => "99.99.99.99",
instance => "01"
}
}
class webserviceA_02 {
create-webservice {"SomeService02":
ip => "88.88.88.88",
instance => "02"
}
}
#
So far so good, wor...