How to pass windows authentication parameters in outbound SOAP message

rajeev_kumar
Mega Contributor

We have a .net webservice in our internal environment ( It is hosted on windows IIS server) . We want to communicate with this webservice through service-now.

This webservice use windows authentication mechanism for access.

I am sending a soap message without credential (http://wiki.servicenow.com/index.php?title=Scripting_Outbound_SOAP#gsc.tab=0).Because I dont know where should I pass NTLM authentication. I am getting the below error in response.

"401 - Unauthorized: Access is denied due to invalid credentials."

We want to send credentials for NTLM authentication. How can we send it.

Similar question has been asked in user forum but solution is not available.

https://community.servicenow.com/thread/160640

I can not find anything related to windows authentication in api document

https://community.servicenow.com/community/develop/app-publisher/blog/2014/12/12/scoped-soapmessagev...

If you need more information then please let me know .

Thanks

6 REPLIES 6

Hi Rajeev,



Did you manage to resolve the issue. I'm also getting same error.


</style>


</head>


<body>


<div id="header"><h1>Server Error</h1></div>


<div id="content">


<div class="content-container"><fieldset>


  <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>


  <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>


</fieldset></div>


</div>


</body>


</html>


nehagaikwad12
Kilo Explorer

Hi Rajeev,

Were you able to resolve this? I am facing a similar issue, and cant find any related information for the same.

 

Thanks,

Neha G