Why are parameters not getting passed when I call a Web Service from JQuery Post Call in Custom Action Button? RRS feed

  • Question

  • Hi,

    IE9 and Sharepoint Online

    Calling the Web Method:

     [WebService(Namespace = "<a href="https:///">https://<service site>/")]
        [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
        // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
        public class MISServices : System.Web.Services.WebService

            private string errMessage;

            public void HTMLtoPDFSharepointListAttach(string HTML, string destSite, string fileName, string listName, string itemID, string authType)


    From a Custom Action Button with call code

                    url: wsURL,
                    type: 'POST',
                    dataType: 'xml',
                    data: soapEnv,
        error: errorResult,
                    complete: processResult,
                    contentType: 'text/xml; charset=utf-8'
     alert('Failed to run ajax call: ' + err.message);

    Parameters are passed fine if the Sharepoint site is a http:// site. What security settings on IE9 could be stopping this?



    Tuesday, July 3, 2012 8:33 AM


All replies