Displaying 1 result from an estimated 1 matches for "soap_action_base".
2006 May 14
0
Invoke .Net WebService error in RoR
...--------
In test_api.rb:
api_method :HelloWorld, :expects => [{:name => :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...