webservice

This commit is contained in:
2023-05-05 20:15:42 +08:00
parent 22867e5572
commit 0aa195f5e4
5 changed files with 4585 additions and 261 deletions
+13 -29
View File
@@ -115,53 +115,37 @@
</security>
</system.webServer>
<!-- SERVER -->
<system.serviceModel>
<client>
<endpoint address="http://172.25.0.43/services/OfsTodoDataWebService"
binding="basicHttpBinding" bindingConfiguration="OfsTodoDataWebServiceHttpBinding"
contract="OAWebService.OfsTodoDataWebServicePortType" name="OfsTodoDataWebServiceHttpPort" />
<endpoint address="http://114.247.88.97:20080/QHSE/HSSEService.svc"
binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint"
contract="BLL.CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" />
<endpoint address="http://114.247.88.97:20080/QHSE/HSSEService.svc"
binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint1"
contract="ServiceReference1.HSSEService" name="HSSEServiceEndpoint1" />
<endpoint address="http://114.247.88.97:20080/qhse/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" />
</client>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<services>
<service name="BLL.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="BLL.HSSEServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="OfsTodoDataWebServiceHttpBinding" />
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" />
</basicHttpBinding>
<wsHttpBinding>
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00"
openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192000"
maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<security mode="None" />
</binding>
<binding name="HSSEServiceEndpoint">
<security mode="None" />
</binding>
<binding name="HSSEServiceEndpoint1">
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>
</wsHttpBinding>