here's an extremely simple client. It requires PHP5 and can be run from the command line. (Not sure what it would look like with NuSOAP instead of just what's built into PHP 5 - but it should not be too different).
Let's assume your Musipedia user ID is "gary" and your password is "gpasswd".
<?php
$client = new SoapClient('http://www.musipedia.org/soap/?wsdl');
$q1_coll = "Musipedia";
$q2_melody = "0,72,0.75;0.75,75,0.25;1,63,0.75;1.75,69,0.25;2,71,0.25;2.25,72,0.25;2.5,71,0.25;2.75,69,0.25";
// some possible alternatives:
//"0,85,0.407;0.698,86,0.151;0.919,85,0.221;1.36,88,0.419;2.06,88,0.174;2.51,83,0.163;3.07,85,0.0814;3.21,83,0.163;3.6,86,0.407;4.24,86,0.163";
//$q2 = "0.642,1.143,1.305,1.599,1.862,2.121,2.414,3.017,3.316";
//$q2 = "0.698,87,0.291;1.31,86,0.302;2,82,0.267;2.66,84,0.407;3.36,82,0.384";
//$q2 = "* dudududuuuududu ";
$q3 = "";
$pitch = 0.6;
$rhythm = 0.4;
$maxres = 5;
$result = $client->search("gary", md5("gpasswd$q1_coll$q2_melody$q3"), $q1_coll, $q2_melody, $q3, $pitch, $rhythm, $maxres, 0);
print_r($result);
?>
Hope this helps.
- Rainer