Sukeerthi Adiga
2008-Jul-08 09:10 UTC
soap4r cannot access server application after soap server is started
I ve started soap r my application. it works fine. But i m not getting from were to start soap server :0( if i start it from controller then i m not able to access the server application. if i start from console then it works fine and also i can access server application. Please can anyone help me from where to start soap server? currently my server side for starting soap server , code looks like this.. require ''soap/rpc/standaloneServer'' class SymptomCheckerServer < SOAP::RPC::StandaloneServer def on_init @log.level = Logger::Severity::DEBUG suggest_diagnoses= SuggestDiagnosesController.new add_method(suggest_diagnoses, ''main_diagnoses'', ''params'') end end server = SymptomCheckerServer.new(''hws'', ''urn:hws'', ''192.168.1.201'', 6565) trap(:INT) do server.shutdown end server.start till now i was starting server from browser by accessing this controller. can anyone suggest me please thanks in advance.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---