Displaying 4 results from an estimated 4 matches for "action_pack_request".
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 Jan 06
0
Rails ActionWebService and gSOAP interoperability problem
...RPC protocol handler.
Inspecting discovery.rb shows that things fall over when decoding the
action pack request. If it tried SOAP first, that wouldn''t be a
problem. Or if it tried to grok XML RPC 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 req...
2006 Jan 07
0
gSOAP and ActionWebService interop problems
...the XML RPC protocol
handler.
Inspecting discovery.rb shows that things fall over when decoding the
action pack request. If it tried SOAP first, that wouldn''t be a problem.
Or if it tried to grok XML RPC 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?...
2006 Apr 26
0
Re: gSOAP and ActionWebService interop problems
...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....