<?php

//define your class with a public method to be described in the WSDL file.
class MyServiceServer {

    public function 
myServiceAction$arr ) {

        
//do stuff with the array...
    
}
}


// -----------------------------------------


//set location of wsdl file here
$wsdl_url 'http://www.xxxxxxx.myendpoint.xx/services/myService/array_in_myService.wsdl';

//start server
$server = new SoapServer $wsdl_url );
$server->setClass 'MyServiceServer' );
$server->handle ();

?>