zoukankan      html  css  js  c++  java
  • wcf客户端终结点样本集合

    1.

     1 <bindings>
     2             <basicHttpBinding>
     3                 <binding name="BasicHttpBinding_IUser"  />
     4             </basicHttpBinding>
     5         </bindings>
     6         <client>
     7             <endpoint address="http://localhost:2059/User.svc" binding="basicHttpBinding"
     8                 bindingConfiguration="BasicHttpBinding_IUser" contract="WCFService.IUser"
     9                 name="BasicHttpBinding_IUser" />
    10         </client>
    View Code

    2.

     1 <?xml version="1.0" encoding="utf-8" ?>
     2 <configuration>
     3     <system.serviceModel>
     4         <bindings>
     5             <basicHttpBinding>
     6                 <binding name="BasicHttpBinding_IDeviceCodeService" messageEncoding="Mtom" />
     7                 <binding name="BasicHttpBinding_ICheck" />
     8             </basicHttpBinding>
     9         </bindings>
    10         <client>
    11             <endpoint address="http://localhost:28783/DeviceCodeService.svc"
    12                 binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IDeviceCodeService"
    13                 contract="OMSWcfService.IDeviceCodeService" name="BasicHttpBinding_IDeviceCodeService" />
    14             <endpoint address="http://localhost:3359/Check.svc" binding="basicHttpBinding"
    15                 bindingConfiguration="BasicHttpBinding_ICheck" contract="ServiceReference1.ICheck"
    16                 name="BasicHttpBinding_ICheck" />
    17         </client>
    18     </system.serviceModel>
    19 </configuration>
    View Code
  • 相关阅读:
    <>跟!=
    exists查询中子表可以是
    in 与 = 的区别
    F查询和Q查询
    Django ORM常用字段和参数
    Django模板系统
    Djang视图层
    Django路由层
    ASP.NET前端语法应用
    WebConfig加密解密
  • 原文地址:https://www.cnblogs.com/ChineseMoonGod/p/4530679.html
Copyright © 2011-2022 走看看