Displaying 1 result from an estimated 1 matches for "reqopt".
Did you mean:
reopt
2006 May 14
0
Invoke .Net WebService error in RoR
...=>{: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 works find....