在nusoap wsdl中定义addcomplextype

I have this function and $from, $msg, $rcpts and $result are arrays. How do I register and define addcomplex type for this function in nusoap-wsdl?

$uname and $pass are strings and I know how to define that in register

function enqueue_multi($from, $rcpt_array, $msg, $type = '',$uname ,$pass)
{
  ......
  return $result;
}