class Sekken::WSDL::Operation

Attributes

binding_operation[R]
endpoint[R]
name[R]
port_type_operation[R]

Public Class Methods

new(name, endpoint, binding_operation, port_type_operation, wsdl) click to toggle source
# File lib/sekken/wsdl/operation.rb, line 8
def initialize(name, endpoint, binding_operation, port_type_operation, wsdl)
  @name = name
  @endpoint = endpoint
  @binding_operation = binding_operation
  @port_type_operation = port_type_operation
  @wsdl = wsdl
end

Public Instance Methods

input() click to toggle source
# File lib/sekken/wsdl/operation.rb, line 29
def input
  @input ||= Input.new(@binding_operation, @port_type_operation, @wsdl)
end
input_style() click to toggle source
# File lib/sekken/wsdl/operation.rb, line 37
def input_style
  "#{@binding_operation.style}/#{@binding_operation.input_body[:use]}"
end
output() click to toggle source
# File lib/sekken/wsdl/operation.rb, line 33
def output
  @output ||= Output.new(@binding_operation, @port_type_operation, @wsdl)
end
output_style() click to toggle source
# File lib/sekken/wsdl/operation.rb, line 41
def output_style
  "#{@binding_operation.style}/#{@binding_operation.output[:body][:use]}"
end
soap_action() click to toggle source
# File lib/sekken/wsdl/operation.rb, line 18
def soap_action
  @binding_operation.soap_action
end
soap_version() click to toggle source
# File lib/sekken/wsdl/operation.rb, line 22
def soap_version
  case @binding_operation.soap_namespace
  when Sekken::NS_SOAP_1_1 then '1.1'
  when Sekken::NS_SOAP_1_2 then '1.2'
  end
end