Forum Discussion

aadithps's avatar
aadithps
Occasional Contributor
13 years ago

Authentication error

Hi
I am trying to run a service that has requires windows authentication in it. I have declared all the credentials in the authentication part of the request.
When I provide the credentials i get a raw request that looks like this:


POST https://cognizant20/MBNotificationWebService/userandcommunityprofile.asmx HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://tempuri.org/AllMPNewUserDetails"
User-Agent: Jakarta Commons-HttpClient/3.1
Content-Length: 326
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFQAAAAAAAAAbAAAAAMAAwBAAAAABgAGAEMAAAALAAsASQAAAAAAAABsAAAABlIAAENUUzMxNDQ1MkNPR05JWkFOVDIwMJ64y2qu0FNmq/8PYGEEUqx7lLVr/JLT
Host: cognizant20

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:AllMPNewUserDetails>
<!--Optional:-->
<tem:UserID>314452</tem:UserID>
</tem:AllMPNewUserDetails>
</soapenv:Body>
</soapenv:Envelope>



And if i dont provide the credentials the raw request will not have the Authorization: NTLM part.

But what ever be the case i am not getting the response back.
It dosn't return back any xml response. But in the raw response it shows:


HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/7.5
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="abc.com"
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.6106
Date: Wed, 11 Jan 2012 09:19:20 GMT
Content-Length: 0


It also gives back a SSL info along with it.
The service runs fine in ITKO LISA with out even providing any credentials to it.

Can you please tell me what can be the issue.
Thanks in advance
No RepliesBe the first to reply