1

When I do some calls to SOAP services to SharePoint 2010 site (e.g. CopyIntoItemsLocal from Copy.asmx or CheckInFile from Lists.asmx) I get HTTP 403 Forbidden.

I suspect this is somehow requires specific authentication (like Digest in SharePoint 2013) in addition to standard HTTP credentials passing in response to HTTP 401.

Does anyone know how to handle it with pure HTTP calls?
I use WinInet in native C++ application - so no any specific JavaScript libs available

1
  • I should probably use Authentication.asmx service but I permanently get HTTP 500 in response to its Login method.
    – andrii
    Commented May 6, 2015 at 13:00

1 Answer 1

0

I have found root of the problem: I missed SOAPAction header. Weird but many other service methods work well without it. Regarding CheckOutFile method, there is some trick with checkoutToLocal - I haven't managed to make it work with checkoutToLocal=true. Should I first make check out with checkoutToLocal=false?.. don't really know

Your Answer

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

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