Wymagane wpisy w pliku konfiguracyjnym aplikacji

<< Click to Display Table of Contents >>

Navigation:  Integracja z systemami EOD > Modele integracji >

Wymagane wpisy w pliku konfiguracyjnym aplikacji

Poniżej znajdują się wymagane wpisy w pliku konfiguracyjnym aplikacji:

 

<?xml version="1.0"?>

<configuration>

 

<!-- Wymagane przez inicjalizator typów -->

 <configSections>

   <sectionGroup name="applicationSettings"

type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0,

Culture=neutral, PublicKeyToken=b77a5c561934e089" >       <section name="EAP.Editor.Baw.Properties.Settings"

type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0,

Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

   </sectionGroup>

 </configSections>

 

<!-- Typ dystrybucji -->

 <appSettings>

   <add key="ApplicationDistribution" value="LEGISLATOR"/>

 </appSettings>

 

<!-- Wymagane dla BAW -->

 <applicationSettings>

   <EAP.Editor.Baw.Properties.Settings>

     <setting name="EAP_Editor_Baw_PMServer_PMService" serializeAs="String">

       <value>http://dziennikiwojewodzkie.pl/WS/PMService.asmx</value>

     </setting>

   </EAP.Editor.Baw.Properties.Settings>

 </applicationSettings>

 

 <system.serviceModel>

   <bindings>

     <basicHttpBinding>

 

<!-- Wymagane dla BAW -->

<binding name="BasicHttpBinding_IJoinService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false"

hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">

         <readerQuotas maxDepth="16384" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>

         <security mode="None"/>

       </binding>

 

<binding name="BasicHttpBinding_IFileTransferService" closeTimeout="00:01:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false"

hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Streamed" useDefaultWebProxy="true">

         <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>

         <security mode="None"/>

       </binding>

 

<binding name="UPEv4WebServiceSoap" closeTimeout="00:04:00" openTimeout="00:03:00" receiveTimeout="00:10:00" sendTimeout="00:08:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">

         <readerQuotas maxDepth="32" maxStringContentLength="8192"

maxArrayLength="2097152" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>

         <security mode="Transport">

           <transport clientCredentialType="None" proxyCredentialType="None" realm=""></transport>

           <message clientCredentialType="UserName" algorithmSuite="Default"/>

         </security>

       </binding>

 

<binding name="BasicHttpBinding_ILegalActsService" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">

         <readerQuotas maxDepth="16384" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>

         <security mode="None"/>

       </binding>

       <binding name="BasicHttpBinding_IOrganizationalStructureService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"

hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">

         <readerQuotas maxDepth="16384" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>

         <security mode="None"/>

       </binding>

       <binding name="MigrationServiceSoap" 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>

 

<!-- Serwer produkcyjny-->

<endpoint address="http://prawomiejscowe.pl/ws/FileTransferService.svc" binding="basicHttpBinding"

bindingConfiguration="BasicHttpBinding_IFileTransferService" contract="BAW_WWW.Services.FileTransferService.IFileTransferService" name="BasicHttpBinding_IFileTransferService"/>

     <endpoint address="http://prawomiejscowe.pl/ws/JoinService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IJoinService" contract="BAW_WWW.Services.JoinService.IJoinService" name="BasicHttpBinding_IJoinService"/>

     <endpoint address="http://prawomiejscowe.pl/ws/LegalActsService.svc" binding="basicHttpBinding"

bindingConfiguration="BasicHttpBinding_ILegalActsService" contract="BAW_WWW.Services.LegalActsService.ILegalActsService" name="BasicHttpBinding_ILegalActsService"/>

<endpoint address="http://prawomiejscowe.pl/ws/OrganizationalStructureService.svc" binding="basicHttpBinding"

bindingConfiguration="BasicHttpBinding_IOrganizationalStructureService" contract="BAW_WWW.Services.OrganizationalStructureService.IOrganizationalStructureS ervice" name="BasicHttpBinding_IOrganizationalStructureService"/>

 

<endpoint address="http://download.upe.com.pl/backws/MigrationService.asmx" binding="basicHttpBinding" bindingConfiguration="MigrationServiceSoap"

contract="UPE.MigrationService.MigrationServiceSoap" name="MigrationServiceSoap"/>

 

 

<!--Moduł komunikacyjny wersja produkcyjna-->

<endpoint address="https://upe.com.pl/ws/UPEv4WebService.asmx" binding="basicHttpBinding" bindingConfiguration="UPEv4WebServiceSoap"

contract="OfficeMailboxService.UPEv4WebServiceSoap" name="UPEv4WebServiceSoap"/>

   </client>

 </system.serviceModel>

 

 <system.net>

   <settings>

     <servicePointManager expect100Continue="false"/>       <httpWebRequest useUnsafeHeaderParsing="true"/>

   </settings>

 </system.net>

<!— Jeżeli EOD używa .NET Framework 4.0 -->

<!— <startup useLegacyV2RuntimeActivationPolicy="true">

               <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

       </startup>

-->  

</configuration>