WSDL::SOAP::Operation (Class)

In: wsdl/soap/operation.rb
Parent: Info

Attributes

soapaction  [R] 
style  [R] 

Classes and Modules

Class WSDL::SOAP::Operation::OperationInfo

Public Class methods

[Source]

# File wsdl/soap/operation.rb, line 40
  def initialize
    super
    @soapaction = nil
    @style = nil
  end

Public Instance methods

[Source]

# File wsdl/soap/operation.rb, line 65
  def input_info
    name_info = parent.find_operation.input_info
    param_info(name_info, parent.input)
  end

[Source]

# File wsdl/soap/operation.rb, line 75
  def operation_style
    return @style if @style
    if parent_binding.soapbinding
      return parent_binding.soapbinding.style
    end
    nil
  end

[Source]

# File wsdl/soap/operation.rb, line 70
  def output_info
    name_info = parent.find_operation.output_info
    param_info(name_info, parent.output)
  end

[Source]

# File wsdl/soap/operation.rb, line 50
  def parse_attr(attr, value)
    case attr
    when StyleAttrName
      if ["document", "rpc"].include?(value)
        @style = value.intern
      else
        raise AttributeConstraintError.new("Unexpected value #{ value }.")
      end
    when SOAPActionAttrName
      @soapaction = value
    else
      nil
    end
  end

[Source]

# File wsdl/soap/operation.rb, line 46
  def parse_element(element)
    nil
  end

[Validate]