Displaying 8 results from an estimated 8 matches for "default_encodingstyl".
Did you mean:
default_encodingstyle
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
...e-else but sometimes I get a
"execution 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
rescu...
2006 Jun 13
1
rails - web service - method name formatting problem
...ontrol this change to
the method name AWS is making?
My generator looks like this:
web_client_api :eewindow,
:soap,
"http://the.java.web.service",
:namespace => "http://the.java.namespace",
:driver_options => {:default_encodingstyle =>
SOAP::EncodingStyle::SOAPHandler::Namespace}
I have tried the other default_encodingtyle choices, to no avail. How
can I find out what other possible options can be passed in?
Am on Windows XP, Rails 1.1.2, Ruby 1.8.2, actionwebservice gem 1.1.2
I hope that is clear - any advice gratefu...
2006 May 14
0
Invoke .Net WebService error in RoR
...urns => [:string]
In test_controller:
web_client_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)
#.........
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
...ent_address
@clients = Client.find(:all, :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,...
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