Debo utilizar un web service. Le paso el login y password y obtengo un xml con el identificador.
El problema es que la página que me devuelve está en blanco y no sé si lo estoy realizando correctamente:
Esta es la especificacion del Web Service :
Código PHP:
HTTP POST
The following is a sample HTTP POST request and response.
The placeholders shown need to be replaced with actual values.
POST /directorio/login.asmx/identificacion HTTP/1.1
Host: midominio.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
identificador=string&password=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0"?>
xml
Código PHP:
Set xmlhttp1 = Server.CreateObject("Msxml2.ServerXMLHTTP")
URL ="http://midominio.com/directorio/login.asmx/identificacion?identificador=111&password=111"
xmlhttp1.Open "POST",URL, False
xmlhttp1.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp1.setRequestHeader "Content-Length", "1024"
xmlhttp1.Send()
response.write xmlhttp1.responseXML.text
Gracias