search for: add_method_with_soapact

Displaying 4 results from an estimated 4 matches for "add_method_with_soapact".

2006 Mar 28
1
What if a webservice is not available = "execution expired" error
...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_amt) else case current_currency when &quo...
2006 Jan 31
0
webservice problem (cant make client)
...9;', ''twa'', ''login'', ''pass'') #~ result = @drv.Authenticate(''xxx'', ''test'',''test'') #xml parser error #~ drv = SOAP::RPC::Driver.new(wsdl,''urn:ActionWebService'') #~ drv.add_method_with_soapaction("Authenticate", ''urn:ActionWebService'' + "/#Authenticate", ''twa'', ''login'', ''pass'') #~ @result = drv.Authenticate(''xxx'',''test'',''test'') #post not su...
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