我没有多少头 l,用视频演播室制作一个WCF服务。 它在国际空间法学会中唱出,我点击了在案卷上的浏览,告诉我我我已经创造了服务。 因此,我假定,这只是一个征兆。
在整个我期间,我提出了一项建议,即使用一个称为“挽救生命”的方案。 我在我任职时使用了这一说法,并得出以下错误。 我不知道这意味着什么,因此,希望有人能够说明局势。
结果是:
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]
Copyright (c) Microsoft Corporation. All rights reserved.
Attempting to download metadata from http://localhost/EvalServiceSite/Eval.svc
using WS-Metadata Exchange or DISCO.
Error: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.Se
rviceModel.Description.DataContractSerializerMessageContractImporter
Error: Schema with target namespace http://tempuri.org/ could not be found.
XPath to Error Source: //wsdl:definitions[@targetNamespace= http://tempuri.org/
]/wsdl:portType[@name= IEvalService ]
Error: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is de
pendent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace= http://tempuri.org/
]/wsdl:portType[@name= IEvalService ]
XPath to Error Source: //wsdl:definitions[@targetNamespace= http://tempuri.org/
]/wsdl:binding[@name= BasicHttpBinding_IEvalService ]
Error: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is depend
ent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace= http://tempuri.org/
]/wsdl:binding[@name= BasicHttpBinding_IEvalService ]
XPath to Error Source: //wsdl:definitions[@targetNamespace= http://tempuri.org/
]/wsdl:service[@name= EvalService ]/wsdl:port[@name= BasicHttpBinding_IEvalServi
ce ]
Generating files...
Warning: No code was generated.
If you were trying to generate a client, this could be because the metadata docu
ments did not contain any valid contracts or services
or because all contracts/services were discovered to exist in /reference assembl
ies. Verify that you passed all the metadata documents to the tool.
Warning: If you would like to generate data contracts from schemas make sure to
use the /dataContractOnly option.