none
can't consume wcf data service any more suddenly. RRS feed

  • Question

  • I created a winform application consuming wcf data services.

    It works well for almost 5 months already.

    today when I click update service reference. error pop up as following:

    (I can still browse metadata of my wcf service in browser)

    The document at the url http://127.0.0.1:411/shiningware/doorDataServices.svc/ 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 '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://127.0.0.1:411/shiningware/doorDataServices.svc/ could not be found.'.
      - The document format is not recognized.
    - Report from 'WSDL Document' is 'There is an error in XML document (1, 40).'.
      - <service xmlns='http://www.w3.org/2007/app'> was not expected.
    Metadata contains a reference that cannot be resolved: 'http://127.0.0.1:411/shiningware/doorDataServices.svc'.
    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.


    • Edited by wiky.when Tuesday, September 23, 2014 9:20 AM
    Tuesday, September 23, 2014 9:19 AM

Answers