|
Hi Silvio,
No we didn't implement ServiceProxyEvents.
Here's are app.config (Windows Form)
<?xml version="1.0"?> <configuration> <configSections> <section name="ideablade.configuration" type="IdeaBlade.Core.Configuration.IdeaBladeSection, IdeaBlade.Core" /> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <section name="iRely.i21.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> </sectionGroup> <sectionGroup name="gibraltar"> <section name="listener" type="Gibraltar.Agent.ListenerElement, Gibraltar.Agent" /> <section name="packager" type="Gibraltar.Agent.PackagerElement, Gibraltar.Agent" /> <section name="publisher" type="Gibraltar.Agent.PublisherElement, Gibraltar.Agent" /> <section name="sessionFile" type="Gibraltar.Agent.SessionFileElement, Gibraltar.Agent" /> <section name="viewer" type="Gibraltar.Agent.ViewerElement, Gibraltar.Agent" /> <section name="email" type="Gibraltar.Agent.EmailElement, Gibraltar.Agent" /> <section name="server" type="Gibraltar.Agent.ServerElement, Gibraltar.Agent" /> <section name="autoSendConsent" type="Gibraltar.Agent.AutoSendConsentElement, Gibraltar.Agent" /> <section name="networkViewer" type="Gibraltar.Agent.NetworkViewerElement, Gibraltar.Agent" /> <section name="properties" type="System.Configuration.NameValueSectionHandler" /> </sectionGroup> </configSections> <connectionStrings> <!--<add name="SalesEntities" connectionString="metadata=res://*/SalesModel.csdl|res://*/SalesModel.ssdl|res://*/SalesModel.msl;provider=System.Data.SqlClient;provider connection string="data source=IVON\SQL2008R2;initial catalog=NorthwindIB;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />--> </connectionStrings> <ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig"> <logging logFile="DebugLog.xml" port="9922" serviceName="TracePublisher" shouldLogSqlQueries="true" /> <objectServer remoteBaseURL="http://localHost2" serviceName="iRely.BusinessObjectServer/EntityService.svc"> <clientSettings isDistributed="true" /> </objectServer> <!-- Additional configuration can be added to override defaults. See the sample config files in the Learning Resources for more information. --> </ideablade.configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="IdeaBlade.Validation" publicKeyToken="287B5094865421C0" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-6.1.4.0" newVersion="6.1.4.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="IdeaBlade.Core" publicKeyToken="287B5094865421C0" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-6.1.4.0" newVersion="6.1.4.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="DevExpress.Data.v11.1.Linq" publicKeyToken="B88D1754D700E49A" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-11.1.7.0" newVersion="11.1.7.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="DevExpress.Data.v11.1" publicKeyToken="B88D1754D700E49A" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-11.1.7.0" newVersion="11.1.7.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="DevExpress.Printing.v11.1.Core" publicKeyToken="B88D1754D700E49A" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-11.1.7.0" newVersion="11.1.7.0" /> </dependentAssembly> </assemblyBinding> </runtime> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /> </startup> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IConnectionService" 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> <binding name="BasicHttpBinding_ITokenService" 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> <customBinding> <binding name="CustomBinding_ILoginService"> <binaryMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" maxSessionSize="2048"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> </binaryMessageEncoding> <httpTransport manualAddressing="false" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /> </binding> </customBinding> </bindings> <client> <endpoint address="http://localhost/i21Portal.Web/Service/ConnectionService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IConnectionService" contract="PortalConnectionProxy.IConnectionService" name="BasicHttpBinding_IConnectionService" /> <endpoint address="http://localhost/i21Portal.Web/Service/TokenService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITokenService" contract="TokenProxy.ITokenService" name="BasicHttpBinding_ITokenService" /> <endpoint address="http://localhost/iRely.BusinessObjectServer/Services/SecurityLogin/LoginService.svc" binding="customBinding" bindingConfiguration="CustomBinding_ILoginService" contract="LoginProxy.ILoginService" name="CustomBinding_ILoginService" /> </client> </system.serviceModel> <userSettings> <iRely.i21.Properties.Settings> <setting name="SummitEnabled" serializeAs="String"> <value>True</value> </setting> <setting name="SummitRainbowCSPath" serializeAs="String"> <value>C:\Program Files (x86)\iRely\Rainbow Menu\RainbowCS.txt</value> /> </setting> <setting name="SummitAcuPath" serializeAs="String"> <value>C:\Program Files (x86)\iRely\Rainbow Menu\acubin\AcuPath.txt</value> /> </setting> <setting name="SummitWrunPath" serializeAs="String"> <value>C:\Program Files (x86)\iRely\Rainbow Menu\acubin\WrunPath.txt</value> /> </setting> <setting name="SummitUsername" serializeAs="String"> <value>TEST</value> /> </setting> <setting name="SummitPassword" serializeAs="String"> <value> </value> /> </setting> <setting name="SummitCompanyID" serializeAs="String"> <value>SS</value> /> </setting> </iRely.i21.Properties.Settings> </userSettings> <gibraltar> <packager allowEmail="False" /> <server autoSendSessions="True" sendAllApplications="True" purgeSentSessions="True" customerName="iRelyHubServer" useGibraltarService="true"/> </gibraltar> <system.diagnostics> <trace> <listeners> <add name="Gibraltar" type="Gibraltar.Agent.LogListener, Gibraltar.Agent" /> </listeners> </trace> </system.diagnostics> </configuration>
then here's the web.config on the BOS:
<?xml version="1.0"?> <configuration> <configSections> <section name="ideablade.configuration" type="IdeaBlade.Core.Configuration.IdeaBladeSection, IdeaBlade.Core"/> <sectionGroup name="gibraltar"> <section name="listener" type="Gibraltar.Agent.ListenerElement, Gibraltar.Agent" /> <section name="packager" type="Gibraltar.Agent.PackagerElement, Gibraltar.Agent" /> <section name="publisher" type="Gibraltar.Agent.PublisherElement, Gibraltar.Agent" /> <section name="sessionFile" type="Gibraltar.Agent.SessionFileElement, Gibraltar.Agent" /> <section name="viewer" type="Gibraltar.Agent.ViewerElement, Gibraltar.Agent" /> <section name="email" type="Gibraltar.Agent.EmailElement, Gibraltar.Agent" /> <section name="server" type="Gibraltar.Agent.ServerElement, Gibraltar.Agent" /> <section name="autoSendConsent" type="Gibraltar.Agent.AutoSendConsentElement, Gibraltar.Agent" /> <section name="networkViewer" type="Gibraltar.Agent.NetworkViewerElement, Gibraltar.Agent" /> <section name="properties" type="System.Configuration.NameValueSectionHandler" /> </sectionGroup> </configSections>
<connectionStrings> <!-- Remember to add your connection string(s) here --> </connectionStrings>
<ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig" >
<logging logFile="log\DebugLog.xml" port="9922" serviceName="TracePublisher"/>
<!-- Additional configuration can be added to override defaults. See the sample config files in the Learning Resources for more information. -->
</ideablade.configuration>
<system.serviceModel>
<!-- Set aspNetCompatibilityEnabled to true to allow use of ASP.NET security features. Set multipleSiteBindingsEnabled to true for Azure or if your web site has multiple http bindings. --> <behaviors> <serviceBehaviors> <behavior name=""> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> </serviceBehaviors> </behaviors> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IPortalConnection" 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> <binding name="BasicHttpBinding_ITokenService" 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> <binding name="BasicHttpBinding_IConnectionService" 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> <customBinding> <binding name="iRely.BusinessObjectServer.Services.SecurityLogin.LoginService.customBinding0"> <binaryMessageEncoding /> <httpTransport /> </binding> </customBinding> </bindings> <services> <service name="iRely.BusinessObjectServer.Services.SecurityLogin.LoginService"> <endpoint address="" binding="customBinding" bindingConfiguration="iRely.BusinessObjectServer.Services.SecurityLogin.LoginService.customBinding0" contract="iRely.BusinessObjectServer.Services.SecurityLogin.ILoginService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> </service> </services> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<client> <endpoint address="http://localhost:61535/Connection/PortalConnection.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPortalConnection" contract="iPortalLogin.IPortalConnection" name="BasicHttpBinding_IPortalConnection" /> <endpoint address="http://localhost/i21Portal.Web/Service/TokenService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITokenService" contract="TokenProxy.ITokenService" name="BasicHttpBinding_ITokenService" /> <endpoint address="http://localhost/i21Portal.Web/Service/ConnectionService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IConnectionService" contract="PortalConnectionProxy.IConnectionService" name="BasicHttpBinding_IConnectionService" /> </client>
<!-- You can add Service definitions to override the default configuration. See the sample config files in the Learning Resources for more information. --> </system.serviceModel>
<system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <gibraltar> <packager allowEmail="False" /> <server autoSendSessions="True" sendAllApplications="True" purgeSentSessions="True" customerName="iRelyHubServer" useGibraltarService="true"/> </gibraltar> <system.diagnostics> <trace> <listeners> <add name="Gibraltar" type="Gibraltar.Agent.LogListener, Gibraltar.Agent" /> </listeners> </trace> </system.diagnostics>
</configuration>
Just also want to ask if you have repositories of all known issues in BOS that by restarting the IIS it works again.
Thanks, Von
|