Symptoms
How to utilize the OOB SharePoint REST service endpoints to create SmartObject > Services > Endpoints WCF
I have an OOB SharePoint 2013 REST service endpoint--https://collabqa.safeway.com/sites/kirtitest/_api/web/lists/GetByTitle('CPORequests')--which I am trying to add to the SmartObjects > Services > Endpoints WCF, but I get this error when I do:
The document at the url https://collabqa.safeway.com/sites/kirtitest/_api/web/lists/GetByTitle('CPORequests') was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'WSDL Document' is 'There is an error in XML document (1, 40).'. - was not expected. - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'. - Report from 'DISCO Document' is 'Discovery document at the URL https://collabqa.safeway.com/sites/kirtitest/_api/web/lists/GetByTitle('CPORequests') could not be found.'. - The document format is not recognized (the content type is 'application/atom xmltype=entrycharset=utf-8').
Is what I'm doing possible?
Diagnoses
I’m getting the same error when trying to register Rest service endpoint with WCF service broker. I believe the service broker only supports with WCF service endpoints.
Resolution
The REST service broker is currently in Beta right now. The broker will be available in the future release of the product.