Skip to main content
Nintex Community Menu Bar

Error "The document at the url [URL] was not recognized as a known document type." while registering WCF Service in SmartObject Service Tester

  • September 11, 2015
  • 0 replies
  • 4 views

Forum|alt.badge.img+10


 

Symptoms


When trying to register a WCF service using the SmartObject Service Tester under the WCF Endpoints service, you receive an error like "The document at the url [SERVICE URL] 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."
 

Diagnoses


This error occurs while trying to register a REST service endpoint with the WCF service broker.
 

Resolution

Unfortunately at this time the WCF service broker only supports WCF endpoints, and does not currently support REST endpoints. The REST service broker is currently in Beta and will be available in a future release.