I've tried this but it didn't work.
I should mention that my errors change from:
I should mention that my errors change from:
OPTIONS https://spweb2.ca/_vti_bin/usergroup.asmx 401 (Unauthorized)To
XMLHttpRequest cannot load https://target.ca/_vti_bin/usergroup.asmx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://origine.ca' is therefore not allowed access. jquery.js:8706
OPTIONS https://target.ca/_layouts/error.aspx?ErrorText=Request%20format%20is%20unrecognized%2E 405 (Method Not Allowed)XML:
Request URL:https://tpfm.ottawa.ca/_layouts/error.aspx?ErrorText=Request%20format%20is%20unrecognized%2E
Request Method:OPTIONS
Status Code:405 Method Not Allowed
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Access-Control-Request-Headers:accept, content-type
Access-Control-Request-Method:POST
Connection:keep-alive
Host:tpfm.ottawa.ca
Origin:https://hosted.compulite.ca
Referer:https://hosted.compulite.ca/md/SitePages/Home.aspx
User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
Query String Parametersview sourceview URL encoded
ErrorText:Request format is unrecognized.
Response Headersview source
Allow:GET, HEAD, OPTIONS, TRACE
Connection:Keep-Alive
Content-Length:0
Date:Mon, 21 Apr 2014 18:04:52 GMT
MicrosoftSharePointTeamServices:14.0.0.6106
Server:Microsoft-IIS/7.0
SPRequestGuid:8114792b-5434-4d9f-a745-c7a9f867774d
X-Powered-By:ASP.NET
X-SharePointHealthScore:0