}
/*@TODO Use Horde_Http_Request */
- $http = new HTTP_Request($url, $options);
+ $http = new HTTP_Request((string)$url, $options);
if (!empty($language)) {
$http->addHeader('Accept-Language', $language);
}
$options = array_merge($options, $GLOBALS['conf']['http']['proxy']);
}
- $http = new HTTP_Request($url, $options);
+ $http = new HTTP_Request((string)$url, $options);
if (!empty($language)) {
$http->addHeader('Accept-Language', $language);
}
$this->_serviceName = $params['serviceName'];
}
- $this->_server = new SoapServer(null, array('uri' => Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/rpc.php', true, -1)));
+ $this->_server = new SoapServer(null, array('uri' => (string)Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/rpc.php', true, -1)));
$this->_server->addFunction(SOAP_FUNCTIONS_ALL);
$this->_server->setClass('Horde_Rpc_Soap_Caller', $params);
}
$options['password'] = $options['pass'];
unset($options['pass']);
}
- $options['location'] = $url;
+ $options['location'] = (string)$url;
$options['uri'] = $options['namespace'];
$soap = new SoapClient(null, $options);
}
/*@TODO Use Horde_Http_Request */
- $http = new HTTP_Request($url, $options);
+ $http = new HTTP_Request((string)$url, $options);
if (!empty($language)) {
$http->addHeader('Accept-Language', $language);
}