mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user