$cost = str_replace(" ", "", $price);
$cost = number_format($cost, 2, '.', '');
ini_set("soap.wsdl_cache_enabled", "1" );
// Устанавливаем soap-соединение
$client = new SoapClient("http://127.0.0.1/WebService/ws/price.1cws?wsdl",
array(
'login' => 'WebService',
'password' => 'WebPass', //пароль
'trace' => true//,
//'features' => SOAP_SINGLE_ELEMENT_ARRAYS
//'features' => SOAP_USE_XSI_ARRAY_TYPE//,
//'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | 5
)
);