Permalink
Browse files

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
  • Loading branch information...
1 parent 651ea0d commit 4e8ca35defa317d22a0b7916f20a4725c235b90c @bitserf bitserf committed Mar 10, 2005
@@ -23,7 +23,7 @@ def marshal(param)
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))

0 comments on commit 4e8ca35

Please sign in to comment.