I am using Add service (System->Objects->Web services->Add Service) to consume REST Web Services. The error I am getting while adding REST Web service is:
"Could not understand the web service described at
http://services.groupkt.com/country/get/all - please make sure the url you provided refers to a valid WSDL document The document at the url
http://services.groupkt.com/country/get/all was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'XML Schema' is 'Data at the root level is invalid. Line 1, position 1.'.
- Report from 'DISCO Document' is 'Data at the root level is invalid. Line 1, position 1.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1, 1).'.
- Data at the root level is invalid. Line 1, position 1."
I tried with another REST Web service URL also. Still I am facing the same error.