Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
# File wsdl/operation.rb, line 48
def input_info
typename = input.find_message.name
NameInfo.new(@name, typename, inputparts)
end
# File wsdl/operation.rb, line 62
def inputname
XSD::QName.new(targetnamespace, input.name ? input.name.name : @name.name)
end
# File wsdl/operation.rb, line 58
def inputparts
sort_parts(input.find_message.parts)
end
# File wsdl/operation.rb, line 53
def output_info
typename = output.find_message.name
NameInfo.new(@name, typename, outputparts)
end
# File wsdl/operation.rb, line 70
def outputname
XSD::QName.new(targetnamespace,
output.name ? output.name.name : @name.name + 'Response')
end
# File wsdl/operation.rb, line 66
def outputparts
sort_parts(output.find_message.parts)
end
# File wsdl/operation.rb, line 97
def parse_attr(attr, value)
case attr
when NameAttrName
@name = XSD::QName.new(targetnamespace, value.source)
when TypeAttrName
@type = value
when ParameterOrderAttrName
@parameter_order = value.source.split(/\s+/)
else
nil
end
end
# File wsdl/operation.rb, line 75
def parse_element(element)
case element
when InputName
o = Param.new
@input = o
o
when OutputName
o = Param.new
@output = o
o
when FaultName
o = Param.new
@fault << o
o
when DocumentationName
o = Documentation.new
o
else
nil
end
end