Content
ReliableSession not working with nethttpBinding when we have duplexchannel communication
I am getting problem with netHttpBinding. Its not working when ReliableSession enabled in nethttpBinding and when we have duplexchannel communication. Below is the exception we are getting. System.ServiceModel.ProtocolException: The remote endpoint…


InstancePersistenceCommand Exception - Windows Workflow Foundation Issue
I am getting this exception when running the workflow, in my application logs- The execution of an InstancePersistenceCommand was interrupted because the instance key {GUID} was not associated to an instance. This can occur because the instance or key…


I can't get my WCF service to run on our new server running Windows Server 2022
We have a simple WCF service installed on Windows Server 2012 with IIS 8.5. This has been running flawless for many years. We have now started installing our services on our new Windows Server 2022 with IIS 10.0 Unfortunately one of the few services we…


How to configure web.config to expose a WCF soap service given an example soap message that has security and addressing?
Hello, I have an example encrypted soap message (sent from a java web service) that should work with the service I m trying to expose in my server. I've tried many configurations but I don't get it the right one to handle the given soap message…


WCF NetPipeBinding throws exception while starting WcfTestClient
Exception thrown: 'System.IO.PipeException' in System.ServiceModel.dll Exception thrown: 'System.ServiceModel.CommunicationException' in System.ServiceModel.dll Exception thrown: 'System.ServiceModel.CommunicationException' in…


Self-host WCF service - use a MessageContract that has SOAP headers
I'm trying to create self-hosted WCF service with file upload & download methods with these parameters: I refer this explanation to perform the task.…


License queries - Simsun font
We want to use Simsun for a Commercial use in a web application. How to get the license for this font? Unable to get the license details and fees from here


Operation Context is returning null in wcf service.
I have created a server client application where I have created two servers which communicate with the client. The communications with client happens correctly, but when i am trying to create callbacks. OperationContext.Current returns NULL. The other…


Service Connection List<T> vs Array bug
We have an asp website with service references to a WCF project. We have set the configuration of the service collection type to System.Collections.Generic.List, yet the reference.cs is showing arrays. We can see <CollectionMappings> …


Using WCF NetTCPBinding Transport security mode, the channel cannot be opened between the client and the server
I have one client machine and two server machines. The system of the server machine is the same. Server machine Windows Server 2019 Standard, Version:1809 .Net Framework 4.7 Advanced Service -> TCP Port Sharing open Client machine Windows 11 Pro,…
error CS0246: The type or namespace name 'ChannelListenerBase<>' could not be found (are you missing a using directive or an assembly reference?)
I have the framework version of WCF server code. When I was trying to migrate with CoreWcf, getting the below errors. The type or namespace name 'ChannelListenerBase<>' could not be found (are you missing a using directive or an assembly…


Site works fine when it is run locally. But after it is published in 2019 windows server, it gives "HTTP Error 500.0 - Internal Server Error"
We are using IIS server 10 and .Net TrargetFramework ="4.7" in web.config of the WebApp as well as .Net Framework of 4.7 is installed in server manager. Site works fine when it is run locally. But after it is published in windows server 2019,…


why WCF Hosting service in a mixed way like saas and laas
Hi, I right now have a WCF backend in a Windows administration uncovered through net.pipe for an ASP.NET web application, on premise. I might want to move to Sky blue in Full Face Snorkel Mask is it conceivable to introduce the WCF administration on at…


How can i send a List<Stream> as part of WCF messageContract
Hi All, I want to send List<Stream> through wcf service.My contract is something below. [MessageContract] public class ResponseData { /// <summary> /// /// </summary> [MessageHeader] …


Digitally sign Security Header in SOAP request
What I have: A WSDL link and a link to which I am supposed to send requests (despite the location address in WSDL being different) What I need to create: A SOAP based client to send requests I created console project on .NET Framework 4.8, added…


WCF service is not running over the HTTPS on multi server SharePoint farm?
Environment details: SharePoint 2019 multi server farm. Both servers communicate over port 80 and 443 bi-directionally. SSL is installed (not self-signed). Problem Statement: My wcf service is not running over the HTTPS while its default page is…


Send Stream in WCF Callback
Hi All, I wanted to implement a Stream data transfer over wcf callback.Is there any way is to achieve this? My contract is something looks below. Thanks in advance. [ServiceContract(CallbackContract = typeof(IDataTansferCallback), SessionMode =…


IBindingConfigurationElement alternate in net core 6.0
Hi, I am working to consume an existing WCF service using the WEBAPI which is to be built in net core 6.0 I need to use IBindingConfigurationElement Interface, of System.ServiceModel.Configuration, but I am not able to find any alternate of this class in…


WCF Error : Cannot obtain Metadata from WCF service
Hello All, We have a webservice in asp.net wcf (ex.. [http://localhost:56561/ProductOData.svc/]). We are able to add as a service reference in asp.net mvc. However, we are trying to add the same service in asp.net core 6.0 and it is not working. The…


How to fix CORS issue during development with localhost different port
Hello, I have a Angular Js application and backend WCF service c# .net , both are running in localhost IISExpress with different port. Client UI is accessing WCF API through http POST/GET. While debugging from Visual Studio using Edge it's throwing…

