This project has moved and is read-only. For the latest updates, please go here.

Got 500 error when call service via https (spservices 2014.02)

May 16, 2015 at 10:42 AM
I don't know if anybody experiencing this issue, but when i use spservice with operation "GetListItems" and access Sharepoint via https i got error 500 and service throw a response like this :
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd=""><soap:Header><soap12:Upgrade xmlns:soap12=""><soap12:SupportedEnvelope qname="soap:Envelope" xmlns:soap="" /><soap12:SupportedEnvelope qname="soap12:Envelope" xmlns:soap12="" /></soap12:Upgrade></soap:Header><soap:Body><soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>Possible SOAP version mismatch: Envelope namespace was unexpected. Expecting</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
Any idea? because on the same page I use other method to get username as following code, have no issue at all.
var thisUserName = $().SPServices.SPGetCurrentUser({
        fieldName: "Title",
        debug: false
And if I access the site in http no errors thrown, the site load flawlessly. Thanks in advance for your help.