WCF Service Error

Discussion in 'ASP .Net Web Services' started by news.microsodft.com, Dec 10, 2008.

  1. Hi All
    Please can someone help us, we a re a team of 5 developers and have not
    slept for nearly 48 hours now trying to sort this out. This is the LAST time
    I listen to anything at teched !! no more fancy technology, VB6 from here on
    !!!

    We have released a project of sizable proportions using WCF, Entetity
    framework, presentation foundation. Multi Milti million $ project and
    started experiencing a "Timeout?" error of some sort.

    Below is the extract of the exception message we obtain from our logging. I
    have also attached the service and client config files. This error started
    last friday and we cant even get pre friday settings and code working
    anymore either. All our code goes through rigirous testing , staging etc ad
    this error seems to have appeared on all our servers at once without
    releasing new versions.

    It seems if we re-start all the services, and open the application calling
    them all will work fine untill we dont call the services for a while, +- 2
    min. Then the next call will throw this error :

    *************** ERROR START ************************

    System.ServiceModel.Security.MessageSecurityException: An unsecured or
    incorrectly secured fault was received from the other party. See the inner
    FaultException for the fault code and detail. --->
    System.ServiceModel.FaultException: The message could not be processed. This
    is most likely because the action
    'http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Cancel' is incorrect or
    because the message contains an invalid or expired security context token or
    because there is a mismatch between bindings. The security context token
    would be invalid if the service aborted the channel due to inactivity. To
    prevent the service from aborting idle sessions prematurely increase the
    Receive timeout on the service endpoint's binding.
    --- End of inner exception stack trace ---

    Server stack trace:
    at
    System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.ProcessRequestContext(RequestContext
    requestContext, TimeSpan timeout, SecurityProtocolCorrelationState
    correlationState)
    at
    System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.ReceiveInternal(TimeSpan
    timeout, SecurityProtocolCorrelationState correlationState)
    at
    System.ServiceModel.Security.SecuritySessionClientSettings`1.SecurityRequestSessionChannel.CloseOutputSession(TimeSpan
    timeout)
    at
    System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.CloseSession(TimeSpan
    timeout, Boolean& wasAborted)
    at
    System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnClose(TimeSpan
    timeout)
    at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan
    timeout)
    at System.ServiceModel.Channels.LayeredChannel`1.OnClose(TimeSpan
    timeout)
    at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan
    timeout)
    at System.ServiceModel.Channels.ServiceChannel.OnClose(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan
    timeout)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
    reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)
    at System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
    at
    System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Close(TimeSpan
    timeout)
    at System.ServiceModel.ClientBase`1.Close()
    at System.ServiceModel.ClientBase`1.System.IDisposable.Dispose()
    at WarehouseManager.MainWindow.LoadTrip(TripDispatchScheduleHeader
    ReturnedDispatchTripHeader)
    at WarehouseManager.MainWindow.OnTripSelected(Object sender, EventArgs e,
    TripDispatchScheduleHeader ReturnedDispatchTripHeader)


    ********************** ERROR END **********************

    *********************** START Application Config File
    ***************************

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <connectionStrings>
    <add name="EventLog" connectionString="Data Source=pfdev;Initial
    Catalog=EventLogDebug;User ID=EventLog;Password=EventLog;"
    providerName="System.Data.SqlClient" />
    </connectionStrings>
    <appSettings>
    <add key="PickingReportURL" value="/Test/Mobility
    (Dev)/Applications/Warehouse Manager/PickingList" />
    <add key="UnlinkedItemsReport" value="/Test/Mobility
    (Dev)/Applications/Warehouse Manager/UnlinkedItems" />
    <add key="ReportServerURL"
    value="https://pfreports.premierfoods.com/reportserver" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    </appSettings>
    <system.serviceModel>
    <bindings>
    <wsHttpBinding>
    <binding name="WSHttpBinding_IEventLogService"
    closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="false"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text" textEncoding="utf-8"
    useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    <binding name="WSHttpBinding_IPermissionService"
    closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="false"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text" textEncoding="utf-8"
    useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    <binding name="WSHttpBinding_IGreatPlainsService"
    closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="false"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text" textEncoding="utf-8"
    useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    <binding name="WSHttpBinding_IMasterDataService"
    closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="true"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text" textEncoding="utf-8"
    useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    <binding name="WSHttpBinding_ITripManagementService"
    closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="true"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text" textEncoding="utf-8"
    useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    <binding name="WSHttpBinding_IBatchQueue" closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="false"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text"
    textEncoding="utf-8" useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    </wsHttpBinding>
    </bindings>
    <client>
    <endpoint
    address="http://localhost/SBP.GreatPlains.WebService/GreatPlainsService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_IGreatPlainsService"
    contract="srvGP.IGreatPlainsService"
    name="WSHttpBinding_IGreatPlainsService">
    <identity>
    <dns value="localhost" />
    </identity>
    </endpoint>
    <endpoint
    address="http://localhost/SBP.EventLog.WebService/EventLogService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_IEventLogService"
    contract="EventLogServiceReference.IEventLogService"
    name="WSHttpBinding_IEventLogService">
    <identity>
    <dns value="localhost" />
    </identity>
    </endpoint>
    <endpoint
    address="http://localhost/SBP.Permissions.WebService/PermissionService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_IPermissionService"
    contract="PermissionServiceReference.IPermissionService"
    name="WSHttpBinding_IPermissionService">
    <identity>
    <dns value="localhost" />
    </identity>
    </endpoint>
    <endpoint
    address="http://localhost/SBP.MasterData.WebService/MasterDataService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_IMasterDataService"
    contract="SrvMasterData.IMasterDataService"
    name="WSHttpBinding_IMasterDataService">
    <identity>
    <dns value="localhost" />
    </identity>
    </endpoint>
    <endpoint
    address="http://localhost/SBP.TripManagement.WebService/TripManagementService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_ITripManagementService"
    contract="srvTripManager.ITripManagementService"
    name="WSHttpBinding_ITripManagementService">
    <identity>
    <dns value="localhost" />
    </identity>
    </endpoint>
    <endpoint
    address="http://localhost/SBP.AutoPosting.WebService/AutoPostingBatchQueueService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_IBatchQueue"
    contract="AutoPostingServiceReference.IBatchQueue"
    name="WSHttpBinding_IBatchQueue">
    <identity>
    <dns value="localhost" />
    </identity>
    </endpoint>
    </client>
    </system.serviceModel>
    <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
    <providers>
    <add name="ClientAuthenticationMembershipProvider"
    type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35" serviceUri="" />
    </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
    <providers>
    <add name="ClientRoleProvider"
    type="System.Web.ClientServices.Providers.ClientRoleProvider,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
    </providers>
    </roleManager>
    </system.web>
    <system.transactions>
    <defaultSettings timeout="00:10:00" />
    </system.transactions>
    </configuration>

    *************************** END Application Config File
    ***************************

    ************************* START Service config File
    ******************************
    <?xml version="1.0"?>
    <!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
    -->
    <configuration>
    <configSections>
    <sectionGroup name="system.web.extensions"
    type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35">
    <sectionGroup name="scripting"
    type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions,
    Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    <section name="scriptResourceHandler"
    type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35" requirePermission="false"
    allowDefinition="MachineToApplication"/>
    <sectionGroup name="webServices"
    type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35">
    <section name="jsonSerialization"
    type="System.Web.Configuration.ScriptingJsonSerializationSection,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35" requirePermission="false"
    allowDefinition="Everywhere"/>
    <section name="profileService"
    type="System.Web.Configuration.ScriptingProfileServiceSection,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35" requirePermission="false"
    allowDefinition="MachineToApplication"/>
    <section name="authenticationService"
    type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35" requirePermission="false"
    allowDefinition="MachineToApplication"/>
    <section name="roleService"
    type="System.Web.Configuration.ScriptingRoleServiceSection,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35" requirePermission="false"
    allowDefinition="MachineToApplication"/>
    </sectionGroup>
    </sectionGroup>
    </sectionGroup>
    </configSections>
    <appSettings/>
    <connectionStrings>
    <add name="TripManagementEntities"
    connectionString="metadata=res://*/TripManagement.csdl|res://*/TripManagement.ssdl|res://*/TripManagement.msl;provider=System.Data.SqlClient;provider
    connection string=&quot;Data Source=pfdev;Initial
    Catalog=TripManagement;Persist Security Info=True;User
    ID=TripManagement;Password=TripManagement;Connect
    Timeout=0;MultipleActiveResultSets=True&quot;"
    providerName="System.Data.EntityClient" />
    <add name="EventLog" connectionString="Data Source=pfdev;Initial
    Catalog=EventLogDebug;User ID=EventLog;Password=EventLog;"
    providerName="System.Data.SqlClient" />
    </connectionStrings>
    <system.web>
    <!--
    Set compilation debug="true" to insert debugging
    symbols into the compiled page. Because this
    affects performance, set this value to true only
    during development.
    -->
    <compilation debug="true">
    <assemblies>
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    </assemblies>
    </compilation>
    <!--
    The <authentication> section enables configuration
    of the security authentication mode used by
    ASP.NET to identify an incoming user.
    -->
    <authentication mode="Windows"/>
    <!--
    The <customErrors> section enables configuration
    of what to do if/when an unhandled error occurs
    during the execution of a request. Specifically,
    it enables developers to configure html error pages
    to be displayed in place of a error stack trace.

    <customErrors mode="RemoteOnly"
    defaultRedirect="GenericErrorPage.htm">
    <error statusCode="403" redirect="NoAccess.htm" />
    <error statusCode="404" redirect="FileNotFound.htm" />
    </customErrors>
    -->
    <pages>
    <controls>
    <add tagPrefix="asp" namespace="System.Web.UI"
    assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    </controls>
    </pages>
    <httpHandlers>
    <remove verb="*" path="*.asmx"/>
    <add verb="*" path="*.asmx" validate="false"
    type="System.Web.Script.Services.ScriptHandlerFactory,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    <add verb="*" path="*_AppService.axd" validate="false"
    type="System.Web.Script.Services.ScriptHandlerFactory,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    <add verb="GET,HEAD" path="ScriptResource.axd"
    type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
    Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
    validate="false"/>
    </httpHandlers>
    <httpModules>
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    </httpModules>
    </system.web>
    <system.codedom>
    <compilers>
    <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
    type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <providerOption name="CompilerVersion" value="v3.5"/>
    <providerOption name="WarnAsError" value="false"/>
    </compiler>
    </compilers>
    </system.codedom>
    <system.web.extensions>
    <scripting>
    <webServices>
    <!--
    Uncomment this section to enable the authentication service.
    Include
    requireSSL="true" if appropriate.

    <authenticationService enabled="true" requireSSL = "true|false"/>
    -->
    <!--
    Uncomment these lines to enable the profile service, and to
    choose the
    profile properties that can be retrieved and modified in
    ASP.NET AJAX
    applications.

    <profileService enabled="true"
    readAccessProperties="propertyname1,propertyname2"
    writeAccessProperties="propertyname1,propertyname2"
    />
    -->
    <!--
    Uncomment this section to enable the role service.

    <roleService enabled="true"/>
    -->
    </webServices>
    <!--
    <scriptResourceHandler enableCompression="true" enableCaching="true"
    />
    -->
    </scripting>
    </system.web.extensions>
    <!--
    The system.webServer section is required for running ASP.NET AJAX
    under Internet
    Information Services 7.0. It is not necessary for previous version
    of IIS.
    -->
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules>
    <add name="ScriptModule" preCondition="integratedMode"
    type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
    Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </modules>
    <handlers>
    <remove name="WebServiceHandlerFactory-Integrated"/>
    <add name="ScriptHandlerFactory" verb="*" path="*.asmx"
    preCondition="integratedMode"
    type="System.Web.Script.Services.ScriptHandlerFactory,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    <add name="ScriptHandlerFactoryAppServices" verb="*"
    path="*_AppService.axd" preCondition="integratedMode"
    type="System.Web.Script.Services.ScriptHandlerFactory,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD"
    path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler,
    System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"/>
    </handlers>
    </system.webServer>
    <system.serviceModel>
    <bindings>
    <wsHttpBinding>
    <binding name="WSHttpBinding_ITripManagementService"
    closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:30:00"
    sendTimeout="00:30:00"
    bypassProxyOnLocal="false" transactionFlow="true"
    hostNameComparisonMode="StrongWildcard"
    maxBufferPoolSize="524288" maxReceivedMessageSize="9965536"
    messageEncoding="Text" textEncoding="utf-8"
    useDefaultWebProxy="true"
    allowCookies="false">
    <readerQuotas maxDepth="32" maxStringContentLength="998192"
    maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <reliableSession ordered="true" inactivityTimeout="23:00:00"
    enabled="false" />
    <security mode="Message">
    <transport clientCredentialType="Windows"
    proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="Windows"
    negotiateServiceCredential="true"
    algorithmSuite="Default" establishSecurityContext="true" />
    </security>
    </binding>
    </wsHttpBinding>
    </bindings>
    <services>
    <service name="SBP.TripManagement.WebService.TripManagementService"
    behaviorConfiguration="SBP.TripManagement.WebService.TripManagementServiceBehavior">
    <!-- Service Endpoints -->
    <endpoint address="" binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_ITripManagementService"
    contract="SBP.TripManagement.ServiceContracts.ITripManagementService">
    <!--
    Upon deployment, the following identity element should be
    removed or replaced to reflect the
    identity under which the deployed service runs. If removed,
    WCF will infer an appropriate identity
    automatically.
    -->
    <identity>
    <dns value="localhost"/>
    </identity>
    </endpoint>
    <endpoint address="mex" binding="mexHttpBinding"
    contract="IMetadataExchange"/>
    </service>
    </services>
    <behaviors>
    <serviceBehaviors>
    <behavior
    name="SBP.TripManagement.WebService.TripManagementServiceBehavior">
    <!-- To avoid disclosing metadata information, set the value below to
    false and remove the metadata endpoint above before deployment -->
    <serviceMetadata httpGetEnabled="true"/>
    <!-- To receive exception details in faults for debugging purposes, set
    the value below to true. Set to false before deployment to avoid disclosing
    exception information -->
    <serviceDebug includeExceptionDetailInFaults="false"/>
    <serviceThrottling maxConcurrentCalls="5000"
    maxConcurrentSessions="5000" maxConcurrentInstances="5000" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    </system.serviceModel>
    <system.transactions>
    <defaultSettings timeout="00:10:00" />
    </system.transactions>
    </configuration>

    ************************* END service Config File
    **************************
     
    news.microsodft.com, Dec 10, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Billy Zhang
    Replies:
    7
    Views:
    1,373
    Steven Cheng [MSFT]
    Jul 31, 2008
  2. Simon
    Replies:
    0
    Views:
    1,069
    Simon
    Oct 13, 2009
  3. Cindy Lee
    Replies:
    1
    Views:
    2,258
    Mr. Arnold
    Mar 19, 2010
  4. Curt K
    Replies:
    3
    Views:
    485
    John Saunders [MVP]
    Jun 15, 2007
  5. kellygreer1

    Web Service versus WCF Service (and Books)

    kellygreer1, Nov 8, 2007, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    180
    Andrew Faust
    Nov 9, 2007
Loading...

Share This Page