Parent

Namespace

Files

Class/Module Index [+]

Quicksearch

WSDL::Operation

Constants

EMPTY

Attributes

fault[R]
input[R]
name[R]
output[R]
parameter_order[R]
type[R]

Public Class Methods

new() click to toggle source
# File lib/wsdl/operation.rb, line 34
def initialize
  super
  @name = nil
  @type = nil
  @parameter_order = nil
  @input = nil
  @output = nil
  @fault = []
end

Public Instance Methods

input_info() click to toggle source
# File lib/wsdl/operation.rb, line 52
def input_info
  if message = input_message
    typename = message.name
  else
    typename = nil
  end
  NameInfo.new(operationname, typename, inputparts)
end
inputname() click to toggle source
# File lib/wsdl/operation.rb, line 79
def inputname
  if input
    as_operationname(input.name ? input.name.name : @name)
  else
    nil
  end
end
inputparts() click to toggle source
# File lib/wsdl/operation.rb, line 71
def inputparts
  if message = input_message
    sort_parts(message.parts)
  else
    EMPTY
  end
end
operationname() click to toggle source
# File lib/wsdl/operation.rb, line 48
def operationname
  as_operationname(@name)
end
output_info() click to toggle source
# File lib/wsdl/operation.rb, line 61
def output_info
  if message = output_message
    typename = message.name
  else
    typename = nil
  end
  NameInfo.new(operationname, typename, outputparts)
end
outputname() click to toggle source
# File lib/wsdl/operation.rb, line 95
def outputname
  if output
    as_operationname(output.name ? output.name.name : @name + 'Response')
  else
    nil
  end
end
outputparts() click to toggle source
# File lib/wsdl/operation.rb, line 87
def outputparts
  if message = output_message
    sort_parts(message.parts)
  else
    EMPTY
  end
end
parse_attr(attr, value) click to toggle source
# File lib/wsdl/operation.rb, line 125
def parse_attr(attr, value)
  case attr
  when NameAttrName
    @name = value.source
  when TypeAttrName
    @type = value
  when ParameterOrderAttrName
    @parameter_order = value.source.split(/\s+/)
  else
    nil
  end
end
parse_element(element) click to toggle source
# File lib/wsdl/operation.rb, line 103
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
targetnamespace() click to toggle source
# File lib/wsdl/operation.rb, line 44
def targetnamespace
  parent.targetnamespace
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.