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提供的方法的返回对象的方法。

  • 相关阅读:
    linux指令大全
    strcpy.strcmp.strlen.strcat函数的实现
    推箱子
    头文件string.h里的函数
    SVN 版本控制工具
    Nodejs 学习
    JavaScript基础知识复习
    CSS3 学习小结
    JSP中 JSTL
    JSP中的EL语言
  • 原文地址:https://www.cnblogs.com/lxf1117/p/4738660.html
Copyright © 2011-2022 走看看