401.2 - Unauthorized: Access is denied
Publicado por ;David (1 intervención) el 13/03/2008 11:46:26
Buenos dias y gracias de antemano,
Estoy intentando llamar a un Servicio Web desde un componente COM con el objeto MSXML2.ServerXMLHTTP40
'/* Abrimos la conexión con el método POST, ya que estamos enviando una petición. */
xmlHTTP.Open HTTP_POST, strUrl
'/* Agregamos encabezados HTTP requeridos por el WebService */
xmlHTTP.setRequestHeader HTTP_MAN, HTTP_POST & " " & strUrl & " " & HTTP_VER
xmlHTTP.setRequestHeader HTTP_CONTENTTYPE, DEF_HTTP_CONTENTTYPE
xmlHTTP.setRequestHeader HTTP_SOAPACTION, strSOAPAction
'/* Enviamos la petición */
xmlHTTP.send (strXMLSoap)
... y me da el siguiente error:
You are not authorized to view this page.
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page try again with different credentials.
HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS).
... ALGUIEN SABE COMO PUEDO SOLUCIONAR ESTO?
Estoy intentando llamar a un Servicio Web desde un componente COM con el objeto MSXML2.ServerXMLHTTP40
'/* Abrimos la conexión con el método POST, ya que estamos enviando una petición. */
xmlHTTP.Open HTTP_POST, strUrl
'/* Agregamos encabezados HTTP requeridos por el WebService */
xmlHTTP.setRequestHeader HTTP_MAN, HTTP_POST & " " & strUrl & " " & HTTP_VER
xmlHTTP.setRequestHeader HTTP_CONTENTTYPE, DEF_HTTP_CONTENTTYPE
xmlHTTP.setRequestHeader HTTP_SOAPACTION, strSOAPAction
'/* Enviamos la petición */
xmlHTTP.send (strXMLSoap)
... y me da el siguiente error:
You are not authorized to view this page.
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page try again with different credentials.
HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS).
... ALGUIEN SABE COMO PUEDO SOLUCIONAR ESTO?
Valora esta pregunta


0