Aug 1, 2010 at 6:31 PM

Hi, I'm afraid I'm completely new to Sharepoint Web Services.

I'd like to perform some actions on a remote server (inspecting folders, creating folders, moving files) so I presume you need to Login first, however my initial code returns Status = "parseerror"


operation: "Login",

webUrl: "",

username: "\\username", //double back-slash to escape (from one of your examples)

password: "somepassword",

completefunc: function(xData, Status) { alert(Status); }


What's wrong here?

Aug 2, 2010 at 1:12 AM


I've never been able to get the Login operation to work when Windows authentication is enabled. I believe that the Authentication Web Service is only useful if you are managing authentication with Forms Based Authentication (FBA). I don't "own" the Web Services -- they are Microsoft's -- so you should research the Authentication Web Service to see how others use it.


Aug 2, 2010 at 8:12 AM
Edited Aug 2, 2010 at 8:17 AM

I've just realised that I'm an idiot! This is an AJAX based service so it won't work from a remote server, right?

So if I run one of your methods from the sharepoint server, will it use my existing sharepoint session/cookie?

Yes, that works perfectly!

Aug 3, 2010 at 1:47 AM

Yes, you need to already be logged in with Windows Authentication.  That's all that will work!