Hi everybody, I am using the Soap RPC lib to connect 1 client to 1 server (in different PC on the same network)
in the server:
require "soap/rpc/standaloneServer"
...
class SyncServer < SOAP::RPC::StandaloneServer
def initialize(*args)
super
add_method(self, 'remote_method')
end
end
in the client:
driver = SOAP::RPC::Driverha.new('http://' + ADDRESS + ':' + PORT, 'urn:soap_string')
driver.add_method('remote_method')
The call of remote_method perfectly works, but it takes a long time: more than 10 seconds !
Do you have any ideas of the cause of this slowness ?
I tried to exec both client and server on the same PC (linux ubuntu installed) but with the same result (too many seconds)
Any suggestion will be welcome :)
Thank you, Alessandro DS