seasonxu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-12 08:02 UTC
Delegated Webservice Problem
I set up a webservice controller like this: ---------------------------------------------------------------------- class ServiceController < ApplicationController wsdl_service_name ''Service'' wsdl_namespace ''urn:inuservicexml'' web_service_dispatching_mode :delegated web_service_scaffold :invoke web_service :userinfo, UserService.new end ---------------------------------------------------------------------- In the UserService class and UserApi class, I defined a login method, so I tried to access the login service by this url, "localhost:3000/service/userinfo/login". But this generated me a very weird warning page -- ---------------------------------------------------------------------- Internal protocol error: undefined local variable or method `source'' for REXML::SourceFactory:Class Backtrace: c:/ruby/lib/ruby/1.8/rexml/source.rb:20:in `create_from'' c:/ruby/lib/ruby/1.8/rexml/parsers/baseparser.rb:123:in `stream='' c:/ruby/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in `initialize'' c:/ruby/lib/ruby/1.8/rexml/parsers/streamparser.rb:6:in `initialize'' c:/ruby/lib/ruby/1.8/rexml/document.rb:185:in `parse_stream'' c:/ruby/lib/ruby/1.8/xmlrpc/parser.rb:717:in `parse'' c:/ruby/lib/ruby/1.8/xmlrpc/parser.rb:475:in `parseMethodCall'' c:/ruby/lib/ruby/1.8/xmlrpc/marshal.rb:63:in `load_call'' c:/ruby/lib/ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'' ... ... ... ---------------------------------------------------------------------- And when I run funcational tests associating with this webservice, it told me "ActionWebService::Container::Delegated::ContainerError: no such web service ''login''". I really have no idea what''s going on. I have been stucking on this problem for days... Please help me on this... Thank you very much~ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---