aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-03-20 07:14:12 +0000
committerLeon Breedt <bitserf@gmail.com>2005-03-20 07:14:12 +0000
commit75c304f82f7a5e8b061537cde6e605920c5d9b0b (patch)
treedfd63351b58c2ec2d134426177bf555dcb9219ed /actionwebservice/lib/action_web_service
parent63e063308b088b8eaef9730903810e54409058f5 (diff)
downloadrails-75c304f82f7a5e8b061537cde6e605920c5d9b0b.tar.gz
rails-75c304f82f7a5e8b061537cde6e605920c5d9b0b.tar.bz2
rails-75c304f82f7a5e8b061537cde6e605920c5d9b0b.zip
make the response QName match up with that declared for the message in the
WSDL, to not do so violates the spec. also fixes this error that occurred with SOAP::WSDLDriverFactory: "RuntimeError: Cannot find {}return as a children of {urn:ServiceName}messageName" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service')
-rw-r--r--actionwebservice/lib/action_web_service/protocol/soap_protocol.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb b/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb
index 51d37ba032..2dab7954f9 100644
--- a/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb
+++ b/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb
@@ -28,7 +28,7 @@ module ActionWebService # :nodoc:
else
return_value = nil
end
- body = @encoder.encode_rpc_response(method_name, return_value)
+ body = @encoder.encode_rpc_response(method_name + 'Response', return_value)
Response.new(body, 'text/xml')
end