在主机中托管我的服务后,我想要 svcutil.exe 将是 http://www.esimsol.com/evalservicesite/eval.svc?wsdl
但是当我查看我创建的服务 svcutil.exe 时,链接如下:
http://win-ea8mlbabe9t/evalservicesite/eval.svc?wsdl
怎么可能?
简单地,
细节 :
[ServiceContract ( Namespace = "http://www.esimsol.com/evalservicesite" )]
public interface I ...
{
&
[ServiceBehavior ( Namespace = "http://www.esimsol.com/evalservicesite" )]
public class ... : I ...
{
&
[DataContract ( Namespace = "http://www.esimsol.com/evalservicesite" )]
public class ...
{
&
< services >
< service ... >
< endpoint ... bindingNamespace="http://www.esimsol.com/evalservicesite" />
</ service >
</ services >