Displaying 4 results from an estimated 4 matches for "driver_options".
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 Jun 27
0
Calling SOAP based Web Services over SSL
...ot;", false,
"", "", "")
rescue Exception => exc
logger.error("Error occurred in googleSearch:" + exc.message)
end
*******************************************************************
Ok, so I then tried to use actionwebservice''s driver_options to include
ssl options.
I also dloaded QuickCert to generate leys and loaded them into my public
directory of my web server. That code looked like this:
*******************************************************************
def hello
opts = {}
opts[''protocol.http.ssl_config.verify_mode...
2006 Jun 13
1
rails - web service - method name formatting problem
...s to the Generator to control 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...
2006 May 14
0
Invoke .Net WebService error in RoR
...=> :string}], :returns => [: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,...