我正在使用 YieldManager Rightmedia,API 使用 SOAP over HTTP 与其客户端交换请求和响应。如何使用 ruby 构建 Web 服务客户端请求。
更新
I follow as per the Yieldmanager docs.., I added the following
require "soap/wsdlDriver"
(soap_base, username, password) = ARGV
contact_client = SOAP::WSDLDriverFactory.new(soap_base + 'contact.php?wsdl').create_rpc_driver
contact_client.wiredump_dev = STDOUT;
token = contact_client.login(username, password, nil)
当我尝试这样做时,我收到了一个连接被拒绝的错误,例如YieldManager: Connection refused - connect(2) (://:0)
提前致谢