cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Add a REST Web Service

Akhlesh_KumarJi
Level 4
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.  
1 REPLY 1

MandarJadhav
Level 4
Use utility-Http VBO to call this rest service. add link in address url, method ""get"" pass content type, username, password and store result in output. After this you'll be able to successfully call this service.