1 Reply Latest reply on Jan 8, 2015 8:19 PM by TheBCMan

    Can't download database with API Method ContactList_Retrieve - Server Error Has Occurred.

    AndersonIT Level 1

      I am trying to connect from my company server to the Business Catalyst site using the API to download the contacts from the CRM on a regular basis.  I followed the instructions on at http://kb.worldsecuresystems.com/850/bc_850.html?bc-partner (Using web services to connect your site to an external customer database) and think I've almost got it, but when I post the request, it returns the following: ERROR: A server error has occurred.


      I am using the following code:

      POST https://secure.worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx

      Content-Type: text/xml; charset=utf-8

      Content-Length: length

      SOAPAction: "http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice/ContactList_Retrieve"

      <?xml version="1.0" encoding="utf-8"?>

      <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">


              <ContactList_Retrieve xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">



                    <siteId>MySiteID from my Dashboard</siteId>

                    <lastUpdateDate>Today's Date</lastUpdateDate>






      I am submitting the request using Microsoft Msxml2.XMLHTTP.3.0 object in ASP.  I know the code for submitting works with other web services, so I think there is something I'm missing when submitting this to Business Catalyst.

      Please provide any feedback or suggestions you might have so I can get this working.

      Thank you,

      Colin Anderson