search for: aspdotnethandler

Displaying 7 results from an estimated 7 matches for "aspdotnethandler".

2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have discovered an interesting problem. I can call webservice functions just fine, as long as they do not require any arguments, but function that do require arguments do not work. The arguments are sent as either null or an empty string. My API has these method definitions: api_method :otherFunction,
2006 Mar 28
1
What if a webservice is not available = "execution expired" error
...expired" error if the webservice is not available or takes too long to respond. Thanks, Peter begin service = SOAP::RPC::Driver.new("http://www.webservicex.net/CurrencyConvertor.asmx","http://www.webserviceX.NET/") service.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace service.add_method_with_soapaction("ConversionRate", "http://www.webserviceX.NET/ConversionRate", "FromCurrency", "ToCurrency") rate = service.ConversionRate("CAD",current_currency).to_f rescue sprintf("$%0.2f CAN", can_a...
2006 May 14
0
Invoke .Net WebService error in RoR
...lient_api :test, :soap, "http://localhost/test/Service.asmx", :namespace => "http://tempuri.org/", :soap_action_base => "http://tempuri.org", :driver_options=>{:default_encodingstyle => SOAP::EncodingStyle::ASPDotNetHandler::Namespace } def hello render_text test.HelloWorld("Li Jie") end It works, but parameters is wrong, the name is null. I have added some code in rubylib/soap/rpc/proxy.rb: def route(req_header, req_body, reqopt, resopt) #...... conn_data.send_string.gsub!(/:n1/, '...
2006 May 18
2
rails and .net webservices
Hello. I am novice in ruby. How can i use .net webservice method from ruby. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
0
Need help with SOAP and .NET
...:include => "matters", :conditions => ["matters.imported_at = ?", $now]) factory = SOAP::WSDLDriverFactory.new("http://ws.melissadata.com/dqws/address.asmx?WSDL") soap = factory.create_rpc_driver soap.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace for client in @clients soapResponse = soap.doSingleRecord(:CustomerID => mycustid, :Action => "Request", :Timeout => 10, :Versio...
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi, I''m interested in using a currency conversion web service in my rails app. Does anyone have a free service that they use and like? I found this one http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10 I''ve tried to make a simple, plain Ruby script to connect to this and get a conversion rate without success. How do I integrate a webservice into my rails app? I
2006 Jun 18
13
Currency calculation
I''m thinking of experimenting with some currency conversion. However, I''d like the conversions to be in synch with the current rates. Anyone know (and this maybe out in left field) if there is some online (perhaps xml) or other data stream I can connect with in my code to output values based on user selection ? TIA Stuart