function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PDMackinPDMackin 

End Point Mismatch using remoteFunction

Hi All
 
I am attempting to use the AJAX proxy to make a call out of an SObject to a Dot-Net Web Service. Originally I was using an XMLHttpRequest, but soon found out the problems with CROSS DOMAIN Issues.
 
I am now using a "New"  call   sforce.connection.remoteFunction and the AJAX Proxy.
 
I am running into an error .... Endpoint Mismatch:
 
400 Endpoint protocol(http/https) mismatch: http://www.myDomain.net/service.asmx
I am assuming that this is taking place because the Dot-Net Service is using  HTTP and SalesForce is using HTTPS  (https://na4.salesforce.com/home/home.jsp).
 
Any insight into how to resolve this would be greatly appreciated.
 
Thanks
 
Pat Mackin
 
pfarrellpfarrell
To close this thread (in case of future searches), here's a thread abou this