I am doing a xml rpc client.
Is there a way to display what I''m sending to the server???
This is the code:
class OrderApi < ActionWebService::API::Base
api_method :IPLWSNroDisponible,
:expects => [{:app_key => :string},
{:number_type => :string},
{:number_sub_type => :string},
{:capcode_category_number => :string},
{:customer_id => :int}],
:returns => [:int]
end
begin
clientXmlRpc = ActionWebService::Client::XmlRpc.new(OrderApi,
"http://localhost/", :handler_name => "iplan")
KEY = "a6d84317d265f0f7ed56558d1131090b"
nro = clientXmlRpc.IPLWSNroDisponible(KEY, "TELEPHONY",
"ATX", "NULL",
1720002910)
rescue Exception => exc
puts exc.message + "\n"
end
Rodrigo Dominguez
Iplan Networks Datos Personales
rdominguez@iplan.com.ar rorra@rorra.com.ar
www.iplan.com.ar <http://www.iplan.com.ar/>
www.rorra.com.ar <http://www.rorra.com.ar/>
5031-6303 15-5695-6027
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060622/86ea0b4d/attachment.html