The error message from each known type may help you fix the problem: - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'. - Report from 'DISCO Document' is 'Discovery document at the URL http://localhost:48677/Service1.svc/GetDataTable could not be found.'. - The document format is not recognized. - Report from 'WSDL Document' is 'There is an error in XML document (1, 2).'. - <GetDataTableResponse xmlns='http://tempuri.org/'> was not expected. Metadata contains a reference that cannot be resolved: 'http://localhost:48677/Service1.svc/GetDataTable'. The remote server returned an unexpected response: (405) Method Not Allowed. The remote server returned an error: (405) Method Not Allowed. If the service is defined in the current solution, try building the solution and adding the service reference again.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)