zoukankan      html  css  js  c++  java
  • webServices

    引用项目的配置文件:

    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <!--旅游供应-->
    <binding name="TripServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
    receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
    useDefaultWebProxy="true">
    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <security mode="None">
    <transport clientCredentialType="None" proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="UserName" algorithmSuite="Default" />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://localhost:28190/Services/TripService.asmx" binding="basicHttpBinding" bindingConfiguration="TripServiceSoap" contract="TripService.TripServiceSoap" name="TripServiceSoap" />
    </client>
    </system.serviceModel>

    1、可以XML序列化的字典:

    http://weblogs.asp.net/pwelter34/444961

    注:对象的方法是无法序列化的,我们只能调用WebServices提供的方法 访问不到WebServices提供的方法的返回对象的方法。

  • 相关阅读:
    HDU 2594 扩展kmp模板题
    HDU 1358 简单kmp
    HDU 3336 扩展kmp
    SPOJ SUBLEX 求第k小子串
    Codeforces 235C
    HDU 4622 Reincarnation
    HDU 4622 求解区间字符串中的不同子串的个数
    [LeetCode] Length of Last Word 字符串查找
    [LeetCode] Sudoku Solver 解数独,递归,回溯
    [LeetCode] Longest Common Prefix 字符串公有前序
  • 原文地址:https://www.cnblogs.com/lxf1117/p/4738660.html
Copyright © 2011-2022 走看看