401使用soapui消费sharepoint web服务的未经授权的错误

时间:2014-05-08 18:05:29

标签: sharepoint sharepoint-2010 sharepoint-2007 soa soapui

有任何人尝试使用soapui访问sharepoint webservices。 我收到401未经授权的错误,以回应我的网络服务请求。

这是一个参考响应: -

     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

请建议。

身份验证方法是基于声明的。

问候 桑托什

2 个答案:

答案 0 :(得分:0)

SoapUI似乎无法直接使用NTLM身份验证,但您可以使用Burp Suite等代理为您进行身份验证。

这在此解释:

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

答案 1 :(得分:0)

我能够通过包含Apache HTTPClientCommon API来克服这个错误。