WCF receive when Receive Location is disabled

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › WCF receive when Receive Location is disabled

Viewing 0 reply threads
  • Author
    Posts
    • #22248

      Hi.

      I have a client app sending in a msg using the Named Pipe binding to a BTS2006 R2 hosted receive location. This works fine when the receive location is enabled, and the msg gets strongly typed in the XMLReceive pipeline to my schema. However, if the receive location is disabled, the client app doesn’t blow up (as I expected it to), and message gets dropped by BTS. The only proof I have that the message ever got to BTS is an event log warning:

      The adapter “WCF-NetNamedPipe” raised an error message. Details “System.ObjectDisposedException: Cannot access a disposed object.
      Object name: ‘System.ServiceModel.InstanceContext’.
         at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposed()
         at System.ServiceModel.InstanceContext.BindIncomingChannel(ServiceChannel channel)
         at System.ServiceModel.Dispatcher.SingletonInstanceContextProvider.GetExistingInstanceContext(Message message, IContextChannel channel)
         at System.ServiceModel.Dispatcher.ChannelHandler.TryRetrievingInstanceContext(RequestContext request)”.

      This worries me a little, as I can see a receive location getting accidently disabled for a few hours, and us having lost all the messages in that period! Any advice would be appreciated.

      Thanks,

      Rob.

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.