Displaying 2 results from an estimated 2 matches for "req_body".
Did you mean:
read_body
2006 Jul 19
1
Session management with SOAP and AWS
I''m working on a rails app where I''d like to have a session-based
SOAP API. That is, I''d like to connect via SSL and have a ''login''
method followed by one or more other methods.
I''m using the ActionWebService::Client::Soap class to connect to
my app, but each method invocation results in a new session on the
server (WEBrick, at the
2006 May 14
0
Invoke .Net WebService error in RoR
...er_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/, '''') #ADD
conn_data.send_string.gsub!(/n1:/, '''') #ADD
conn_data = @streamhandler.send(@endpoint_url, conn_data,
#.....
It removes the namespace ''n1'', and it wor...