Questions tagged [wcfserviceclient]
84 questions
0
votes
1 answer
Creating a Project in VS19 to work with an Angular Frontend and ASP.NET Backend
I am trying to set up an Angular8 project to work with an already existing WCF Service and ASP.NET backend. The goals being to get the project set up in Visual Studio 2019. In addition to getting the actual project set up how to then communicate to…

Tiffany Abernathy
- 21
- 3
0
votes
1 answer
WCF - Does a client must have the same behavior as the endpoint?
I have the following WCF endpoint configuration:

laconicdev
- 6,360
- 11
- 63
- 89
0
votes
1 answer
No update from wcf Service to SignalR Web app
Here is my wcfService code -
public class SystemService : ISystemService
{
private IHubContext hubContext;
public SystemService()
{
hubContext = GlobalHost.ConnectionManager.GetHubContext();
}
…

Usha phulwani
- 184
- 4
- 22
0
votes
1 answer
What is more suitable: A windows service or WCF service?
I am creating a web app. I want to create a listening service (TCP) that listens continuously and updates web page according to that.
A Windows service or a WCF service?
At the end I just want a background service that listens on a socket…

Usha phulwani
- 184
- 4
- 22
0
votes
1 answer
Msbuild Arguments for publishing wcf service in TFS build
I am trying to publish a WCF service using a TFS build, but the build is failing.
I tried using the given arguments in VSBuild in TFS:
/p:DeployOnBuild=True /p:PublishProfile=TestDataProfile…

vishal
- 21
- 8
0
votes
1 answer
How do I retrieve headers from WCF on the client
I have a WCF service that is adding headers to the response. I would like to know how to extract those headers on the client side.

Matt Ruwe
- 3,386
- 6
- 39
- 77
0
votes
1 answer
Silverlight - Extend WCF Class in the Client
I've seen this question asked in various incarnations around the web, but never a definitive answer. And since this is the forum for definitive answers....
I am using WCF to provide the Entity objects for my Silverlight client, based on an SQL…

Wonko the Sane
- 10,623
- 8
- 67
- 92
0
votes
1 answer
WCF+WebService: 2 fields are generated to represent 1 integer
In my WCF service I have method with 'int' parameter:
[OperationContract]
PublishResult PublishEnrollmentProfile(
string siteName, int methodId,...
);
When I created WebService reference to this WCF service the following…

Budda
- 18,015
- 33
- 124
- 206
0
votes
1 answer
Datavalidation in silverlight with wcf service reference class
HI,
Am using wcf service with silverlight and my datacontract class is exposed in the reference file and am binding a collection of class type to datagrid and while clicking a particular row for editing the entire row data will be binded to a…

Prabhakaran
- 1,264
- 2
- 20
- 47
0
votes
1 answer
WCF Service : config address
In my WCF Service App.config I have :

BaltoStar
- 8,165
- 17
- 59
- 91
0
votes
0 answers
POST API ERROR when hit through android app
I have an android app which hits my api ..below is the login post api...when i hit api through my app it shows something went wrong error...and when i hit my api through postman ..its shows "415 cannot process the ...text/xml charset=utf-8'"…

sachin singh
- 43
- 1
- 1
- 10
0
votes
1 answer
how to avoid in WCF service interface to implementing either synchronous or asynchronous Method
I have implemented WCF Services, I have defined synchronize method as following;
[ServiceContract]
public interface IMarketingCampaignType
{
[OperationContract]
List GetAllCampaignTypes();
[OperationContract]
…

K.Z
- 5,201
- 25
- 104
- 240
0
votes
1 answer
netTcpBinding Behavior - Reconnection
I have a WCF Service using netTcpBinding.
the problem is that the host of this service not always active , so when a client
tries to use the service it will succeed as long as the server is on-line.
when the server re-starts the client must…

Liran
- 820
- 2
- 11
- 22
0
votes
1 answer
Common entry point for method calls in WCF stub
I've been looking into migrating our application to use a service reference instead of a web reference.
However, I can't find an equivalent for SoapHttpClientProtocol.Invoke()
In our application, we've overridden this method so that some additional…

raistdejesus
- 109
- 1
- 11
0
votes
2 answers
Unity + C# - "Resolution of the dependency failed"
My application have a 10 WCFService ( WCFService Application on platform .NET Framework 3.5) with same software and hardware but only 1 takes this exception:
When user is logged in invoke this method:
public IService Select(SelectServiceRequest…

Dilo
- 1
- 1
- 3