Avatar of kuzmar
kuzmarFlag for Slovenia

asked on 

Windows authentication in SharePoint Web Services

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="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetWeb xmlns="http://schemas.microsoft.com/sharepoint/soap/">
      <webUrl>http://server/testsite/default.aspx</webUrl>
    </GetWeb>
  </soap:Body>
</soap:Envelope>

Open in new window

Web Services

Avatar of undefined
Last Comment
dj_alik
ASKER CERTIFIED SOLUTION
Avatar of dj_alik
dj_alik

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Web Services
Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.

4K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo