In SharePoint 2010, Microsoft quietly added a new service called AddWikiPage to the Lists web service. It almost appears that this is still meant as a pre-production service. I am able to call this web service, and it successfully creates the wiki page, but ALWAYS returns the following response (even with bare-bones wikiContent). Nowhere in my content do I have a <Values> or <Where> tag, so this must be something server-side. Here's the full error message.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            <faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring>
                <errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">The 'Values' start tag on line 1 does not
                  match the end tag of 'Where'. Line 1, position 80.</errorstring>

Does anyone have any examples, or can you provide additional ideas/insights? Thanks!

1 Answer 1


When I was experimenting with AddWikiPage and kept getting this error message as well. It appears like the function itself works, as it creates the Page on the wiki (as long as the pagename is unique) but still throws an error.

I'm using a try..catch now.

    try {
      wiki2010endpoint.AddWikiPage("{fd0cf7d4-6f70-455a-9c5c-cf31da1209cc}", "pagename.aspx", content);
    } catch {}
  • I took a similar approach, but am hoping to find out more information about what is going on. Glad to hear it is not just me. Thanks. Nov 25, 2013 at 22:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.