summaryrefslogtreecommitdiff
path: root/lib/wsdl/soap/binding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wsdl/soap/binding.rb')
-rw-r--r--lib/wsdl/soap/binding.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/wsdl/soap/binding.rb b/lib/wsdl/soap/binding.rb
index 1cfe9b9cc4..7e15a99701 100644
--- a/lib/wsdl/soap/binding.rb
+++ b/lib/wsdl/soap/binding.rb
@@ -30,13 +30,14 @@ class Binding < Info
def parse_attr(attr, value)
case attr
when StyleAttrName
- if ["document", "rpc"].include?(value)
- @style = value.intern
+ if ["document", "rpc"].include?(value.source)
+ @style = value.source.intern
else
- raise AttributeConstraintError.new("Unexpected value #{ value }.")
+ raise Parser::AttributeConstraintError.new(
+ "Unexpected value #{ value }.")
end
when TransportAttrName
- @transport = value
+ @transport = value.source
else
nil
end