Class: Ap4r::Dispatchers::SOAP
Overview
Dispatches via SOAP protocol. Uses SOAP
library.
The call result is judged as
-
“success” if
SOAP::WSDLDrive#send
finishes without an exception, and -
“failuar” otherwise.
Instance Method Summary collapse
Methods inherited from Base
#call, dispatch_mode, #initialize, #modify_message, #response, #validate_response
Constructor Details
This class inherits a constructor from Ap4r::Dispatchers::Base
Instance Method Details
#invoke ⇒ Object
325 326 327 328 329 |
# File 'lib/ap4r/dispatcher.rb', line 325 def invoke # TODO: nice to cache drivers probably 2007/05/09 by shino driver = ::SOAP::WSDLDriverFactory.new(@message[:target_url]).create_rpc_driver driver.send(@message[:target_action], @message.object) end |