Questions tagged [wcf]

0 votes
0 replies
Call to WCF WebService works locally but not from Azure App Service
I have a WCF WebService (.NET 4.0) that is accessible through a public IP address. I have a C# MVC project running (.NET 4.7.2) that I host in Az...
asked 1 month ago
1 votes
0 replies
.Net Core Connected Services - Sharing Types
With a .Net Framework project, you used to be able to share types from common WCF services by adding any additional services to the Reference.svc...
asked 1 month ago
0 votes
2 replies
Ajax call to wcf is returning undefined
I'm trying to call a function exposed by WCF service using ajax but the success method is always returning 'undefined' even though the function i...
asked 1 month ago
0 votes
0 replies
Can I use windows authentication in IIS for MSMQ over http?
I've installed http support for MSMQ on a server. I also created a private queue on the same server. To protect the MSMQ application in IIS I ha...
asked 1 month ago
-1 votes
1 replies
Service breaking when returning an Interface type - Serialization issue?
My system is composed of the following parts: A client script that communicates with a service via proxy A service that implements a servic...
asked 1 month ago
0 votes
1 replies
How to get Service Base Address in app.config?
I'd like to get the baseaddress specified in my app.config file which is "http://localhost:8733/SmgService/" from C#. I looked into Microsoft's...
asked 1 month ago
1 votes
0 replies
CS1647: An expression is too long or complex to compile (HttpCompileException) [duplicate]
Every now and then when I build a specific solution, I'll get a random amount of "An expression is too long or complex to compile" in the Error L...
asked 1 month ago
0 votes
0 replies
WCF with Protobuf Serialization: When ignoring properties to be serialized [ProtoIgnore], do I need explicitly mark [DataMember]?
Working with WCF and Google Protobuf. If I do not want serialize a field or property, so I mark [ProtoIgnore], my question is: Do I need [Data...
0 votes
0 replies
Removed public key while WCF Service is running
I have a setup with WCF Services and Certificates. I have removed public key from Service machine while WCF Service was running. But, still, the...
0 votes
0 replies
Issue passing in a DataRow Type using Ref within C#
I'm iterating through a DataTable using a "for" or "foreach" loop, I then attempt to pass the DataRow into another method using "Ref" to referenc...
asked 1 month ago
0 votes
0 replies
An exception of type 'System.ServiceModel.ProtocolException' occurred in mscorlib.dll but was not handled in user code
My aspx form is working perfectly till yesterday and I have 2400 records. Today when I am trying to save data I am getting error An exception of...
asked 1 month ago
0 votes
0 replies
wcf service call over net.pipe is breaking with The server has rejected the client credentials
I am trying to deploy existing web application and wcf services on windows server 2016 IIS server. When application is trying to connect wcf serv...
wcf
asked 1 month ago
0 votes
0 replies
CORS for REST server in Visual C++ [closed]
I wrote a REST server in Visual C++ using the WebServiceHost class. This is the REST server code (the code is light because the full one is a Wi...
asked 1 month ago
0 votes
1 replies
Unable to add Java service reference to WCF client
I am uanble to add the below Java service reference in WCF Client https://filetransfer.nordea.com/services/CorporateFileService getting below e...
wcf
asked 1 month ago
0 votes
1 replies
Ninject Dependency Binding to WCF Services Without XML Configuration
I am trying to use the Ninject Dependency Injection to bind a callback method to WCF REST services runs in a kind of plugin module of a software...
asked 1 month ago
0 votes
1 replies
Status code 413 (RequestEntityTooLarge) / Status code 415 (UnsupportedMediaType). WCF Programmatically
I am calling a WCF web service programmatically by generating class files through SvcUtil.exe. All working fine but when I try to send an image...
asked 1 month ago
0 votes
1 replies
WCF configuration works on localhost, not on shared website
I have an old ASP.NET website that has a WCF service that is used to return a JSON payload. It works fine in localhost, but when I try to deploy...
asked 1 month ago
0 votes
1 replies
WCF over TLS under Mono
I am trying to get WCF communication to work over a TLS connection. I am using Mono 5.20.1.19 on Ubuntu 18.04, although I would hope that a solut...
asked 1 month ago
0 votes
0 replies
Generated WSDL from a WCF service declares nullable, but it should be required
I have a WCF service using a class, which is properly annotated as a DataContract. Within that data contract (which is a struct type) I have a Pr...
asked 1 month ago
2 votes
1 replies
Caching WCF service and Convert data as Async
We are trying to cache the data of a WCF service, So when the data is available in cache memory we need to return cached data from the cache as A...
asked 1 month ago
0 votes
0 replies
Call WCF method hosted in .NET Framework console app from .NET Core web app
I have a .NET Core 2.0 web app that needs to access a web service via WCF reference. The problem is that the WCF reference it's not working with...
asked 1 month ago
0 votes
0 replies
Is it possible to host a RESTful service that can connect to a local WCF service?
At my place of work, we have a robotics solution that manages high-value assets. It has a locally hosted WCF service, and currently we can only c...
asked 1 month ago
0 votes
0 replies
Reading from a WCF Service through an Azure Hybrid Connection?
I have an MVC webapp hosting as an App Service on Azure. I also have a WCF Service running on an on-prem server. I want to read from the WCF Serv...
asked 1 month ago
0 votes
0 replies
How to access WCF using TLS1.2 from UWP or windows8.1
I'm using NetHttpBinding and ChannelFactory to access service, however not able to set secure protocol TLS1.2 System.Net.ServicePointManager.Se...
asked 1 month ago
0 votes
1 replies
How to add custom header to outgoing SOAP payload using a Connected Service?
I need to add a custom header to every payload sent to one of the Connected Services in my projects with an HTTPS endpoint. That custom header wi...
asked 1 month ago