Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/02/2008, 15:04
Avatar de marckd
marckd
 
Fecha de Ingreso: febrero-2005
Ubicación: Uruguay
Mensajes: 511
Antigüedad: 19 años, 3 meses
Puntos: 11
Pregunta NuSOAP con autenticación NTLM

Buenas

Estoy intentando hacer una conexión con NuSOAP, pero el servicio al que intento acceder tiene una autenticación NTLM, y por tanto estoy teniendo esta respuesta:

Código:
Response

HTTP/1.1 401 Unauthorized
Content-Length: 1733
Date: Thu, 07 Feb 2008 21:54:06 GMT
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
el código es sencillo, pero sin embargo está fallando

Código:
require_once('nusoap.php');

$parameters = array('pEmail'=>'[email protected]', 'pDescripcion'=>'asdas', 'pTelefono'=>'1561651');

$soapclient = new nusoap_client($url);
$soapclient->setCredentials($user, $pass, "ntlm");

$err = $soapclient->getError();
if ($err) {
	echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
	echo '<h2>Debug</h2><pre>' . htmlspecialchars($soapclient->getDebug(), ENT_QUOTES) . '</pre>';
	exit();
}

echo $soapclient->call($methodName, $parameters);
Alguien es capáz de ayudarme? muchas gracias
__________________
Tonterias
Trillonario