80 lines
4 KiB
XML
80 lines
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
|
|
<appSettings>
|
|
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
|
|
</appSettings>
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5" />
|
|
<httpRuntime targetFramework="4.5"/>
|
|
</system.web>
|
|
<system.serviceModel>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
|
|
<behavior>
|
|
|
|
<!-- Para evitar revelar información de los metadatos, establezca los valores siguientes en false antes de la implementación -->
|
|
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
|
|
<!-- Para recibir detalles de las excepciones en los fallos, con el fin de poder realizar la depuración, establezca el valor siguiente en true. Para no revelar información sobre las excepciones, establézcalo en false antes de la implementación -->
|
|
<serviceDebug includeExceptionDetailInFaults="false"/>
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
|
|
<endpointBehaviors>
|
|
<behavior name="SOAPBehavior" />
|
|
<behavior name="JSONBehavior">
|
|
<webHttp />
|
|
<enableWebScript />
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
|
|
</behaviors>
|
|
<protocolMapping>
|
|
<add binding="basicHttpsBinding" scheme="https" />
|
|
</protocolMapping>
|
|
<bindings>
|
|
<wsHttpBinding>
|
|
<binding name="SOAPBinding" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="false" allowCookies="false">
|
|
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
|
|
<security mode="None">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
</binding>
|
|
</wsHttpBinding>
|
|
<webHttpBinding>
|
|
<binding name="JSONBinding" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" allowCookies="false" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" contentTypeMapper="">
|
|
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
|
|
<security mode="None">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
</binding>
|
|
</webHttpBinding>
|
|
</bindings>
|
|
|
|
<services>
|
|
<service name="AYA.SlnSinort.WCF.SinortCatalogos">
|
|
<endpoint address="soap" behaviorConfiguration="SOAPBehavior" binding="wsHttpBinding" bindingConfiguration="SOAPBinding" contract="AYA.SlnSinort.WCF.ISinortCatalogos" />
|
|
<endpoint address="api" behaviorConfiguration="JSONBehavior" binding="webHttpBinding" bindingConfiguration="JSONBinding" contract="AYA.SlnSinort.WCF.ISinortCatalogos" />
|
|
</service>
|
|
<service name="AYA.SlnSinort.WCF.Sinort">
|
|
<endpoint address="soap" behaviorConfiguration="SOAPBehavior" binding="wsHttpBinding" bindingConfiguration="SOAPBinding" contract="AYA.SlnSinort.WCF.ISinort" />
|
|
<endpoint address="api" behaviorConfiguration="JSONBehavior" binding="webHttpBinding" bindingConfiguration="JSONBinding" contract="AYA.SlnSinort.WCF.ISinort" />
|
|
</service>
|
|
</services>
|
|
|
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
|
|
|
|
|
|
|
|
</system.serviceModel>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
<!--
|
|
Para examinar el directorio raíz de la aplicación web durante la depuración, establezca el valor siguiente en true.
|
|
Establézcalo en false antes de la implementación para evitar revelar información sobre la carpeta de aplicación web.
|
|
-->
|
|
<directoryBrowse enabled="true"/>
|
|
</system.webServer>
|
|
|
|
</configuration>
|