You are here: Home / FAQ / Server / Activate eWay-CRM API (WcfService) on the server

Activate eWay-CRM API (WcfService) on the server

Description

If you need to activate eWay-CRM API (WcfService), follow instructions below.

Version

All versions of eWay-CRM

Difficulty

Medium

Resolution

  1. Go to IIS and find eWay-CRM Web Service (in this case, it is 22841).
  2. Right-click the WcfService subfolder and create an application from it under the same application pool as is eWay-CRM Web Service.
  3. Now, you need to open Web.config file in the WcfService folder and set the path to the web service - remember, you need to add eWayWS.asmx in the end.
  4. Now, eWay-CRM API under the filled web service address should be working.
  5. To test whether API is configured properly open web browser and insert:
  6. <yourwebserviceaddress>/WcfService/Service.svc/CheckStatus
    If there is "ReturnCode":"rcSuccess", API is configured correctly. In other case, there is an error in configuration. Error will be in API log.
    CheckStatus is not available on API for eWay-CRM 4.3 and older. You can look at service web page:
    <yourwebserviceaddress>/WcfService/Service.svc
    You should see the list, where you find link to WSDL file which contains all API operations. Anyway, this won't test whether API connection with eWay-CRM web service works properly.
  7. You can also test API by prepared PHP script that calls the API and checks responses. You may also use eWay-CRM Mobile to test the API.