I am trying to use the web services API, but I'm running into an issue. I've found that if I log into SageCRM and have an active session, then the API works fine. However, if I do not have an active session and I try to connect the the web service API, then instead of returning an XML response, the following text is instead returned:
"<script type="text/javascript" src="../../cookie.js"></script><script language="Javascript"> Cookies.create("setyourcountry","northamerica",365); Cookiesloc.create("setregion","na",365); Cookieslang.create("setlang","en",365); </script><form action='na.sagecrm.com/.../' method='post' name='logon'><input type='hidden' name='country' value='northamerica'></form><script language="JavaScript">document.logon.submit();</script>"
It appears to be running JavaScript to log me in, but obviously this will not work with a web service connection.