xuruiqian
2021-05-25 c0bbcd97fa2f130a7a60d02873fbf9038bdd4c15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="ConfigServer" value="175.24.53.180" />
    <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
    <add key="IgnoringAntPathRequestMatcher" value="SecurityServices.svc,MasterDataServices.svc" />
  </appSettings>
  <system.web>
    <customErrors mode="Off"/>
    <compilation debug="true" targetFramework="4.6.1" />
    <authentication mode="None"/>
    <httpRuntime maxRequestLength="2097151"/>
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
  </system.web>
  <system.webServer>
    <httpProtocol>
      <customHeaders>
        <!--<add name="Access-Control-Allow-Origin" value="*" />
        <add name="Access-Control-Allow-Headers" value="*" />
        <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE" />-->
      </customHeaders>
    </httpProtocol>
    <modules runAllManagedModulesForAllRequests="false"/>
    <staticContent>
      <mimeMap fileExtension=".apk" mimeType="application/vnd.android.package-archive"/>
      <mimeMap fileExtension=".svc" mimeType="application/octet-stream"/>
    </staticContent>
    <directoryBrowse enabled="false"/>
  </system.webServer>
  <system.diagnostics>
    <trace autoflush="true" />
    <sources>
      <source name="System.ServiceModel.MessageLogging">
        <listeners>
          <add name="ServiceModelMessageLoggingListener">
            <filter type="" />
          </add>
        </listeners>
      </source>
    </sources>
    <sharedListeners>
      <add initializeData="Logs\Messages.svclog"
           type="System.Diagnostics.XmlWriterTraceListener"
           name="ServiceModelMessageLoggingListener"
           traceOutputOptions="Timestamp">
        <filter type="" />
      </add>
    </sharedListeners>
  </system.diagnostics>
  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <diagnostics>
      <messageLogging logEntireMessage="true"
                      logMalformedMessages="true"
                      logMessagesAtServiceLevel="true"
                      logMessagesAtTransportLevel="true"
                      maxMessagesToLog="2147483647"
                      maxSizeOfMessageToLog="2147483647" />
    </diagnostics>
    <services>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
        name="GTech.Solution.Api.SecurityServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
                  binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
                  contract="GTech.Solution.Api.Contract.ISecurityServices" />
      </service>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
         name="GTech.Solution.Api.MasterDataServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
          binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
          contract="GTech.Solution.Api.Contract.IMasterDataServices" />
      </service>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
        name="GTech.Solution.Api.JobTransactionMonitorServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
          binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
          contract="GTech.Solution.Api.Contract.IJobTransactionMonitorServices" />
      </service>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
        name="GTech.Solution.Api.OrderManagementServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
          binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
          contract="GTech.Solution.Api.Contract.IOrderManagementServices" />
      </service>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
        name="GTech.Solution.Api.TankInventoryServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
          binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
          contract="GTech.Solution.Api.Contract.ITankInventoryServices" />
      </service>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
        name="GTech.Solution.Api.VesselNominationHandlingServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
          binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
          contract="GTech.Solution.Api.Contract.IVesselNominationHandlingServices" />
      </service>
      <service behaviorConfiguration="GTech.Solution.Api.AppServiceBehavior"
        name="GTech.Solution.Api.VesselShipmentManagementServices">
        <endpoint address="" behaviorConfiguration="WebHttpBindingBehavior"
          binding="webHttpBinding" bindingConfiguration="MyServiceBinding"
          contract="GTech.Solution.Api.Contract.IVesselShipmentManagementServices" />
      </service>
    </services>
    <behaviors>
      <endpointBehaviors>
        <behavior name="WebHttpBindingBehavior">
          <webHttp/>
        </behavior>
        <behavior name="webHttp">
          <webHttp helpEnabled="true"/>
        </behavior>
      </endpointBehaviors>
      <serviceBehaviors>
        <behavior name="GTech.Solution.Api.AppServiceBehavior">
          <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false"/>
          <serviceDebug includeExceptionDetailInFaults="true"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <webHttpBinding>
        <binding name="MyServiceBinding" sendTimeout="00:10:00" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647">
          <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
          <security mode="Transport" >
          </security>
        </binding>
        <binding name="webHttpBindConfig" receiveTimeout="00:30:00" sendTimeout="00:30:00" maxReceivedMessageSize="104857600" transferMode="Streamed">
          <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647"/>
          <security mode="Transport" >
          </security>
        </binding>
      </webHttpBinding>
      <basicHttpBinding>
      </basicHttpBinding>
    </bindings>
    <client>
    </client>
  </system.serviceModel>
</configuration>