Windows authentication in SharePoint Web Services

kuzmar used Ask the Experts™
There is a SharePoint Foundation 2010 environment on the server. The server is using windows authentication.

There are many web services there. One e.g.: http://server/_vti_bin/Webs.asmx

However... I would like to call those web services from other site/client. How would I be able to call the web service and authenticate too.

The following call results in 401 UNAUTHORIZED response:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
    <GetWeb xmlns="">

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011
Invoke a WebService that needs Windows Authentication

Authentication Error when accessing Sharepoint list via web service

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial