Displaying 2 results from an estimated 2 matches for "endpoint_url".
2006 May 01
3
Using Classes in Rails
I am a beginner so please excuse me, if i am doing something totally
wrong.
I have created a class using "wsdl2ruby.rb" and here is what it looks
like:
class ServiceSoap < ::SOAP::RPC::Driver
DefaultEndpointUrl =
"http://balrog/services/SearchWorker/service.asmx"
MappingRegistry = ::SOAP::Mapping::Registry.new
Methods = [
...
--
Posted via
2006 May 14
0
Invoke .Net WebService error in RoR
...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. But I think this is
wrong way, can anyone fix it?