我想建立动态发现VY vsdisco演示。
我有变化machine.config中,但我得到follwoing错误。The document at the url http://localhost:50834/DemoProject/DemoProject.vsdisco 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://localhost:50834/DemoProject/DemoProject.vsdisco could not be found.'.
- The document format is not recognized (the content type is 'application/octet-stream').
- Report from 'WSDL Document' is 'There is an error in XML document (2, 2).'.
- <dynamicdiscovery xmlns="urn:schemas-dynamicdiscovery:disco.2000-03-17"> was not expected.
Metadata contains a reference that cannot be resolved: 'http://localhost:50834/DemoProject/DemoProject.vsdisco'.
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.
</dynamicdiscovery></schema>
如何解决这个问题。
请帮助我。