# File wsdl/soap/operation.rb, line 66
def input_info
name_info = parent.find_operation.input_info
param_info(name_info, parent.input)
end
# File wsdl/soap/operation.rb, line 76
def operation_style
return @style if @style
if parent_binding.soapbinding
return parent_binding.soapbinding.style
end
nil
end
# File wsdl/soap/operation.rb, line 71
def output_info
name_info = parent.find_operation.output_info
param_info(name_info, parent.output)
end
# File wsdl/soap/operation.rb, line 50
def parse_attr(attr, value)
case attr
when StyleAttrName
if ["document", "rpc"].include?(value.source)
@style = value.source.intern
else
raise Parser::AttributeConstraintError.new(
"Unexpected value #{ value }.")
end
when SOAPActionAttrName
@soapaction = value.source
else
nil
end
end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please see Improve the docs, or visit Documenting-ruby.org.