This project is read-only.

Error Sharepoint Authentication Using SPService

Sep 4, 2014 at 8:04 AM
Edited Sep 4, 2014 at 8:04 AM
hi,
I am trying to consume sharepoint service in jquery mobile app. I have consumed List service successfully using SPService now i am trying to consume authentication for autheticate the user in first (Login Page).
I have used following code:

$(document).ready(function()
        {
            $.support.cors = true;

            $("#Login").click(function()
            { 
                $().SPServices({
                webUrl: "http://xxx.xx.xx.xx:10423/_vti_bin/Authentication.asmx",   
                operation: "Login",
                username: "username", // I have used proper user name
                async: false,
                password: "password", // I have used proper password

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

                });
            });
        });
On this i am getting error as:

POST file:///C:/_vti_bin/Webs.asmx jquery.min.js:4
POST file:///C:/_vti_bin/Authentication.asmx jquery.min.js:4

Can any one help me to solve this issue. I need Proper SPService syntax for consuming Authentication service..

Thanks in advance
Regards,
Supriya
Sep 9, 2014 at 8:05 AM
I for one don't know the answer. I think you'll find more help with this on Stack Overflow. People LOVE answering jQuery questions on SO :)