# File lib/wsdl/operationBinding.rb, line 39 39: def find_operation 40: porttype.operations.each do |op| 41: next if op.name != @name 42: next if op.input and @input and op.input.name and @input.name and 43: op.input.name != @input.name 44: next if op.output and @output and op.output.name and @output.name and 45: op.output.name != @output.name 46: return op 47: end 48: raise RuntimeError.new("#{@name} not found") 49: end
# File lib/wsdl/operationBinding.rb, line 113 113: def parse_attr(attr, value) 114: case attr 115: when NameAttrName 116: @name = value.source 117: else 118: nil 119: end 120: end
# File lib/wsdl/operationBinding.rb, line 87 87: def parse_element(element) 88: case element 89: when InputName 90: o = Param.new 91: @input = o 92: o 93: when OutputName 94: o = Param.new 95: @output = o 96: o 97: when FaultName 98: o = Param.new 99: @fault << o 100: o 101: when SOAPOperationName 102: o = WSDL::SOAP::Operation.new 103: @soapoperation = o 104: o 105: when DocumentationName 106: o = Documentation.new 107: o 108: else 109: nil 110: end 111: end
# File lib/wsdl/operationBinding.rb, line 35 35: def porttype 36: root.porttype(parent.type) 37: end
# File lib/wsdl/operationBinding.rb, line 79 79: def soapaction 80: if @soapoperation 81: @soapoperation.soapaction 82: else 83: nil 84: end 85: end
# File lib/wsdl/operationBinding.rb, line 71 71: def soapbody_use_input 72: soapbody_use(@input) 73: end
# File lib/wsdl/operationBinding.rb, line 75 75: def soapbody_use_output 76: soapbody_use(@output) 77: end
# File lib/wsdl/operationBinding.rb, line 51 51: def soapoperation_name 52: op_name = find_operation.operationname 53: if @input and @input.soapbody and @input.soapbody.namespace 54: op_name = XSD::QName.new(@input.soapbody.namespace, op_name.name) 55: end 56: op_name 57: end
# File lib/wsdl/operationBinding.rb, line 59 59: def soapoperation_style 60: style = nil 61: if @soapoperation 62: style = @soapoperation.operation_style 63: elsif parent.soapbinding 64: style = parent.soapbinding.style 65: else 66: raise TypeError.new("operation style definition not found") 67: end 68: style || :document 69: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.