Getting Sharepoint Webs.asmx working with Word through Microsoft Forefront UAG 2010


In this blog post i will show you how to fix the issue with Word/Excel 2010 not being able to edit a Sharepoint document through Microsoft Forefront UAG 2010.

 When the user click on the "Edit Document" button nothing happens.

 The sure still only see the "Read-Only" version without the "Edit document" button.

 See this video on how to fix the issue



How to enable SSL on a SharePoint 2010 web application:

Configure SSL for SharePoint 2013

UAG and Office integration


wireshark capture on Sharepoint server 

 The issue seen from Wireshark. You get a HTTP error 500 from the WEBS.asmx service and then the WebDav MiniRedirector can't open the document in edit mode instead of "Read-Only".

HTTP/1.1 200 OK
Cache-Control: private,max-age=0
Content-Length: 20048
Content-Type: application/
Expires: Tue, 23 Apr 2013 19:09:16 GMT
Last-Modified: Wed, 08 May 2013 17:37:10 GMT
ETag: "{2C3465A0-E7E7-4DD1-85E2-B24DB34699AD},1"
Server: Microsoft-IIS/7.5
SPRequestGuid: 7f2a8fe7-9608-4346-b702-c01525253657
X-SharePointHealthScore: 0
ResourceTag: rt:2C3465A0-E7E7-4DD1-85E2-B24DB34699AD@00000000001
X-Content-Type-Options: nosniff
X-Powered-By: ASP.NET
Date: Wed, 08 May 2013 19:09:16 GMT

POST /_vti_bin/webs.asmx HTTP/1.1
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 325
Content-Type: text/xml; charset=utf-8
Cookie: NLSessionSportal=i/lvH9UXhQ5ej5nRST06y61xPlWuW0hBat1FgFT7UaMJAVaG6pBd8LQVwlZBjV

+Xdk7BuUwFzJFdsj324r5dsfedMlUE9rqFS8; WhlPII=2
User-Agent: Microsoft Office/14.0 (Windows NT 6.1; Microsoft Word 14.0.6106; Pro)
X-Office-Version: 14.0.6106
UAGActivityId: {00000000-0000-0000-0000-000000000000}

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="">
<WebUrlFromPageUrl xmlns=""><pageUrl>


HTTP/1.1 500 Internal Server Error
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Wed, 08 May 2013 19:09:17 GMT
Content-Length: 804

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



n of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring><detail><errorstring

xmlns="">The Web application at

Documents/Test.docx could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing

content, the system administrator may need to add a new request URL mapping to the intended


Download entire trace: NewFileStreamCapture.txt (26,64 kb)


Webs.asmx SOAP Calls

Webs.asmx web service is used by the Client to find the absolut URL of the file Sharepoint

More information about the purpose of the WebUrlFromPageUrl call using the webs.asmx service. See Microsoft MSDN:

Forefront UAG 2010 trace capture of the Webs.asmx SOAP Calls :

Forefront UAG 2010 Trace - WebsDOTasmx.txt (8,83 mb)

Correctly formed webs.asmx SOAP Call:

SOAP Request.docx (15,43 kb)


More Information:

Behind the scenes: Opening a Document from a SharePoint 2010 Document Library


SharePoint 2007 or 2010: Office Documents open ReadOnly from SharePoint site 



blog comments powered by Disqus