Displaying 1 result from an estimated 1 matches for "req_header".
Did you mean:
rep_header
2006 May 14
0
Invoke .Net WebService error in RoR
...: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)
#......
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'',...