我收到以下錯誤錯誤,同時增加了服務的參考
The document at the url was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from ' is 'The document format is not recognized (the content type is 'text/html;charset=UTF-8').'.
- Report from 'DISCO Document' is 'There was an error downloading
.svc?disco'.'.
- The remote name could not be resolved:
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html;charset=UTF-8').'.
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html;charset=UTF-8').'. Metadata contains a reference that cannot be resolved: ' '. Content Type application/soap+xml; charset=utf-8 was not supported by service . The client and service bindings may be mismatched. The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'.. If the service is defined in the current solution, try building the solution and adding the service reference again.
你有沒有運氣? – 2011-03-25 00:21:46