He realizado lo que tu me dices pero optengo es otra salida
El codigo quedaria
Código PHP:
$client = new SoapClient($servicio,array('login'=>array('lang' => 'es' ,'password' => 'monzon.xml', 'user' => 'monzon.xml')));
$result = $client->getHotels(array('filter'=>array('region' => 2)));
el resultado es:
Código PHP:
Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object hasn't 'login' property in /var/www/vhosts/entrayviaja.com/httpdocs/v2/prueba1.php:56 Stack trace: #0 [internal function]: SoapClient->__call('getHotels, Array) #1 /var/www/vhosts/entrayviaja.com/httpdocs/v2/prueba1.php(56): SoapClient->getHotels(Array) #2 {main} thrown in /var/www/vhosts/entrayviaja.com/httpdocs/v2/prueba1.php on line 56