method
create_param_def
v1_8_7_72 -
Show latest stable
- Class:
SOAP::WSDLDriverFactory
create_param_def(op_bind)private
No documentation available.
# File lib/soap/wsdlDriver.rb, line 127
def create_param_def(op_bind)
op = op_bind.find_operation
if op_bind.soapoperation_style == :rpc
param_def = @methoddefcreator.collect_rpcparameter(op)
else
param_def = @methoddefcreator.collect_documentparameter(op)
end
# the first element of typedef in param_def is a String like
# "::SOAP::SOAPStruct". turn this String to a class.
param_def.collect { |io, name, typedef|
typedef[0] = Mapping.class_from_name(typedef[0])
[io, name, typedef]
}
end