12,162
社区成员
发帖
与我相关
我的任务
分享
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IUser" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="524288" messageEncoding="Text"
textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="16384" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="None">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://10.10.1.68:81/CHINAZTT.ZTAM.BLL.User.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUser"
contract="UserBLL.IUser" name="WSHttpBinding_IUser">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
<client>
<endpoint address="http://localhost:8732/Report/mex"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IReport"
contract="ReportBLL.IReport" name="WSHttpBinding_IReport">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="SaveFilePath" value="D:\PIMS"/>
<add key="FTPPath" value="ftp://10.10.1.68"/>
</appSettings>
<system.web>
<compilation debug="true"/>
</system.web>
<!-- 部署服务库项目时,必须将配置文件的内容添加到
主机的 app.config 文件中。System.Configuration 不支持库的配置文件。-->
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="NoneSecurity" useDefaultWebProxy="false">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="CHINAZTT.ZTAM.BLL.ZTAMBehavior"
name="CHINAZTT.ZTAM.BLL.User">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="NoneSecurity"
contract="CHINAZTT.ZTAM.BLL.IUser">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8731/User/" />
</baseAddresses>
</host>
</service>
<service
behaviorConfiguration="CHINAZTT.ZTAM.BLL.ZTAMBehavior"
name="CHINAZTT.ZTAM.BLL.REP.Report">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="NoneSecurity"
contract="CHINAZTT.ZTAM.BLL.REP.IReport">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8732/Report/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="CHINAZTT.ZTAM.BLL.ZTAMBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>