summaryrefslogtreecommitdiff
path: root/lib/soap/mapping/factory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soap/mapping/factory.rb')
-rw-r--r--lib/soap/mapping/factory.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/soap/mapping/factory.rb b/lib/soap/mapping/factory.rb
index 6a34da55a8..92ed194a42 100644
--- a/lib/soap/mapping/factory.rb
+++ b/lib/soap/mapping/factory.rb
@@ -136,7 +136,10 @@ class BasetypeFactory_ < Factory
rescue XSD::ValueSpaceError
return nil
end
- # Basetype except String should not be multiref-ed in SOAP/1.1.
+ if @allow_original_mapping
+ # Basetype except String should not be multiref-ed in SOAP/1.1.
+ mark_marshalled_obj(obj, soap_obj)
+ end
soap_obj
end