empMiniList.rb (Ruby)
require 'soap/wsdlDriver'
wsdl_url = "http://soagate:8023/adabas_EmployeesMini?WSDL"
soap = SOAP::WSDLDriverFactory.new( wsdl_url ).create_rpc_driver
soap.wiredump_file_base = "soapresult"
param = {"personnel_id" => "50005*", "name" => "", "city" => ""}
result = soap.list( param )
print( "\nNumber of Employees is ", result.adabasEmployees.adabasEmployee.length, "\n\n")
for emp in (result.adabasEmployees.adabasEmployee)
print(emp.personnel_id, ", ", emp.name, " ", emp.first_name, "\n")
end