search for: decode_action_pack_request

Displaying 7 results from an estimated 7 matches for "decode_action_pack_request".

2006 Apr 26
0
Re: gSOAP and ActionWebService interop problems
...error is not in my code. I am new to both ActionWebService and the Ruby XMLRPC module, so I''m not quite sure what is supposed to be going on in Protocol::Discovery::InstanceMethods#discover_web_service_request. However, it seems that it expects Protocol::XmlRpc::XmlRpcProtocol#decode_action_pack_request to return nil in the case that the request is SOAP rather than throwing the "No valid method call" exception (see below). As a quick test, I wrapped the decode_action_pack_request call in a rescue block, only to get the second exception listed below. Any help would be appreciated....
2006 Jan 06
0
Rails ActionWebService and gSOAP interoperability problem
...ve fallen back to SOAP? > def discover_web_service_request(action_pack_request) > (self.class.read_inheritable_attribute > ("web_service_protocols") || []).each do |protocol| > protocol = protocol.create(self) > request = protocol.decode_action_pack_request > (action_pack_request) > return request unless request.nil? > end > nil > end Ideally, I''d like to specify in environment.rb or in my controller that Rails should use SOAP, and never XML RPC. Is that possible? What about telling R...
2006 Jan 07
0
gSOAP and ActionWebService interop problems
...C and failed, it should have fallen back to SOAP? def discover_web_service_request(action_pack_request) (self.class.read_inheritable_attribute("web_service_protocols") || []).each do |protocol| protocol = protocol.create(self) request = protocol.decode_action_pack_request(action_pack_request) return request unless request.nil? end nil end Ideally, I''d like to specify in environment.rb or in my controller that Rails should use SOAP, and never XML RPC. Is that possible? What about telling Rails to try SOAP first? Won...
2007 Aug 09
0
layered SOAP webservices
Hi all, My SOAP web service works with direct and delegated dispatching. But as soon as I switch to layered, I get an error message no such web service ''api'' Now, the actionwebservice/lib/action_web_service/protocol/ soap_protocol.rb, in function decode_action_pack_request(action_pack_request), service_name = action_pack_request.parameters[''action''] But doesn''t this mean the service_name is always going to be set to ''api'' in case of layered dispatch? Shouldn''t the service name come from the SOAP message itself...
2006 Apr 17
5
XML-RPC Webservice API
.../ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/xmlrpc_protocol.rb:36:in `decode_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/xmlrpc_protocol.rb:32:in `decode_action_pack_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/discovery.rb:20:in `discover_web_service_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/discovery.rb:18:in `discover_web_service_request'' /us...
2006 Jun 23
0
SOAP Web Service Exception
...#39; for #<SOAP::SOAPNil:0x24ea1bc>): /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/soap_protocol.rb:61:in `decode_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/soap_protocol.rb:45:in `decode_action_pack_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/discovery.rb:20:in `discover_web_service_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/discovery.rb:18:in `discover_web_service_request...
2005 Dec 30
5
AWS api_method :returns not accepting ActiveRecord::Base
I''m trying to use the feature of AWS where it will take an object derived from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try it, though, I get the craziest error: NoMethodError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.new /usr/lib/.../actionwebservice/lib/action_web_service/casting.rb:105:in