From 4e8ca35defa317d22a0b7916f20a4725c235b90c Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Thu, 10 Mar 2005 06:29:55 +0000 Subject: 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 --- .../lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionwebservice/lib/action_web_service/vendor/ws/marshaling/soap_marshaling.rb') 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)) -- cgit v1.2.3