I finally found the solution to this.
If you want to have multiple parameters in your SOAP calls, the following must be done.
your register must include all the parameters and it must specify the type.
$server->register("myFunction",
array('value1' => 'xsd:integer',
'values2' => 'xsd:string' ),
array('return' => 'xsd:string'),
'urn:someurn', 'urn:someurn#myFunction');
your function handles the rest
function myFunction ($value1, $value2) {
return $value1 + $value2;
}
and it should be called with an array as a parameter
$answer = $client->call('myFunction', array('value1' => $val1, 'value2' => $val2))
hope that helps anyone else who is wondering.