I am writing a tool to integrate with a web service, I have a method which just builds an ImportExportSoapClient object which is used to call the API methods for the web service, but when I call one of the methods I am getting Cannot access a disposed object System.ServiceModel.Channels.ServiceChannel? anyone had a similar experience or could lend a hand?
Share
You may be trying to use an already-closed
CommunicationObject(like aChannelFactory). When the object is in aClosedorClosingstate, you get anObjectDisposedException.MSDN Reference: http://msdn.microsoft.com/en-us/library/ms405496.aspx