2014-05-08 4 views
0

quelqu'un a essayé d'accéder aux services web sharepoint en utilisant soapui. Je reçois une erreur 401 non autorisée en réponse à ma demande de service Web.401 erreur non autorisée consommant webservice sharepoint avec soapui

ici est une réponse de référence: -

 HTTP/1.1 401 Unauthor  Server: Microsoft-IIS/8.0 
    SPRequestGuid: 8bf28e9c-d9b2-9011-4ed2-bb557583d071 
    request-id: 8bf28e9c-d9b2-9011-4ed2-bb557583d071 
    X-FRAME-OPTIONS: SAMEORIGIN 
    SPRequestDuration: 3 
    SPIisLatency: 2 
    WWW-Authenticate: NTLM 
    X-Powered-By: ASP.NET 
    MicrosoftSharePointTeamServices: 15.0.0.4420 
    X-Content-Type-Options: nosniff 
    X-MS-InvokeApp: 1; RequireReadOnly 
    Date: Thu, 08 May 2014 17:57:46 GMT 
    Content-Length: 16 

    401 UNAUTHORIZEDized 

veuillez en informer.

la méthodologie d'authentification est fondée sur les revendications.

concernant Santosh

+0

Où est votre demande? Où est l'information d'authentification? – Namphibian

+0

essayé avant de poster ceci. Le support NTLM apparaît avec une option sélectionnable avant d'effectuer une requête de service Web. le mécanisme d'authentification défini est la revendication d'accès aux services web, comme conseillé par mon administrateur de service. – SanSharma

Répondre

0

SoapUI ne semble pas fonctionner directement avec l'authentification NTLM, mais vous pouvez utiliser un proxy, comme Burp Suite à faire l'authentification pour vous.

Ceci est expliqué ici:

http://forum.soapui.org/viewtopic.php?t=17431

+0

SOAPUI fonctionne correctement avec l'autorisation NTLM –

0

j'ai pu surmonter cette erreur en incluant l'API Apache HTTPClientCommon.

Questions connexes