aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-03-10 06:29:55 +0000
committerLeon Breedt <bitserf@gmail.com>2005-03-10 06:29:55 +0000
commit4e8ca35defa317d22a0b7916f20a4725c235b90c (patch)
tree4182ac675e002aae1edb62442b146f2d0a9eec32 /actionwebservice/lib
parent651ea0d39c5c766ffb2abc8330fd6c6f88125720 (diff)
downloadrails-4e8ca35defa317d22a0b7916f20a4725c235b90c.tar.gz
rails-4e8ca35defa317d22a0b7916f20a4725c235b90c.tar.bz2
rails-4e8ca35defa317d22a0b7916f20a4725c235b90c.zip
change type of faultCode in marshaled SOAP faults to a QName,
and its value to 'Server' in the SOAP namespace. should fix #804. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib')
-rw-r--r--actionwebservice/lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb b/actionwebservice/lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb
index 72f006b654..4d29c78f2c 100644
--- a/actionwebservice/lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb
+++ b/actionwebservice/lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb
@@ -23,7 +23,7 @@ module WS
if param.value.is_a?(Exception)
detail = SOAP::Mapping::SOAPException.new(param.value)
soap_obj = SOAP::SOAPFault.new(
- SOAP::SOAPString.new('Server'),
+ SOAP::SOAPQName.new('%s:%s' % [SOAP::SOAPNamespaceTag, 'Server']),
SOAP::SOAPString.new(param.value.to_s),
SOAP::SOAPString.new(self.class.name),
SOAP::Mapping.obj2soap(detail))