Commit e2767bb1 刘韬

修改webservce接收终结点

1 个父辈 78a0b618
...@@ -134,7 +134,7 @@ namespace DeviceLibrary ...@@ -134,7 +134,7 @@ namespace DeviceLibrary
//绑定 //绑定
System.ServiceModel.Channels.Binding httpBinding = new BasicHttpBinding(); System.ServiceModel.Channels.Binding httpBinding = new BasicHttpBinding();
//终结点 //终结点
Host.AddServiceEndpoint(typeof(RtTowerClientService.IRtTowerClientService), httpBinding, uri); Host.AddServiceEndpoint(typeof(RtTowerClientService.IWSAdapter), httpBinding, uri);
//Host.Open(); //Host.Open();
if (Host.Description.Behaviors.Find<System.ServiceModel.Description.ServiceMetadataBehavior>() == null) if (Host.Description.Behaviors.Find<System.ServiceModel.Description.ServiceMetadataBehavior>() == null)
{ {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!