Questions tagged [wcf-client]

For questions about Windows Communication Foundation (WCF) clients.

757 questions
0
votes
1 answer

Client async call to WCF service

Possible Duplicate: Accessing PerSession service simultaneously in WCF using C# I have implemented a c# wcf service which has method s1 and method s2. method s1 is the main process that does the processing and method s2 is a secondary method that…
krishna555
  • 223
  • 5
  • 18
0
votes
1 answer

WCF service fires event itself

Is it possible to fire event from service to connected clients without request from client? (I know, if I use client request I could use callback) I store object in the service with some actual state. State of this object can change very often.…
Saint
  • 5,397
  • 22
  • 63
  • 107
0
votes
1 answer

VS 2010 - Add Service Reference Error

As you can see that from the above screenshot, VS 2010 "Add service reference" adds the standard library class as well. I tried using svcutil and we dont want to use svcutil for a while. Any solution for this ? For your information : I have used…
amaz
  • 445
  • 1
  • 5
  • 14
0
votes
2 answers

how to detect authentication timeout from client script

I have an ASP.NET application that is using forms authentication with a timeout set to five minutes. On my page I have a button, that when clicked, makes an AJAX call to an operation that lives on the service named in my .svc file. How do I know,…
akaDka
  • 43
  • 1
  • 4
0
votes
1 answer

Using SvcUtil.exe in WCF when router is in the middle

My service is consumed through a router. I’m trying to use SvcUtil.exe to create config and class file. When I point to the service itself endpoints the command would be something like this: svcutil.exe…
Daniel
  • 3,322
  • 5
  • 30
  • 40
0
votes
1 answer

wcf services for interprocess communication

I have put together a .net winform application which consumes a wcf service exposed by another .net application running as a windows service. Since the communication is within the same machine, I chose the NetNamedPipe as the communication channel,…
Subbu
  • 839
  • 2
  • 12
  • 34
0
votes
1 answer

WCF Routing without adding service proxy

I have my service up and running and lately I was trying to add router in the middle. My problem is as long as I have my service proxy in the client side everything is working, but, I don't want to add service proxies to the client side. Is there…
Daniel
  • 3,322
  • 5
  • 30
  • 40
0
votes
1 answer

Where is SoapAction configured in WCF Client?

I need my wcf client to communicate with the service with a blank SoapAction because the service is configured to dispatch the operation by body of the soap message. And the operation contract is decorated as below so it will not require soap…
Jyina
  • 2,530
  • 9
  • 42
  • 80
0
votes
1 answer

What binding should be used in WCF service if the client consumes by sending SOAP 1.1 message?

I have a WCF service. A third party client sends SOAP 1.1 message to the service. I found out that the service can use basicHttpBinding to accept SOAP 1.1 messages so I configured my service to use basicHttpBinding. But the client gets an error…
Jyina
  • 2,530
  • 9
  • 42
  • 80
0
votes
1 answer

Updating Progress when Handling Call backs with WCF

I have a program that accesses a WCF Web Service I have running via HTTP. The program needs to login and the login process is this: Get Staff List from WebService. Gets Drivers List from Webservice. Gets Vehcile list from web service. logged in. I…
Michael
  • 8,229
  • 20
  • 61
  • 113
0
votes
1 answer

query to wcf ria service call

i have a domain service class which contain a simple POCO object and a class which contain 2 variable a and b and the method which make sum of it. public class DomainService1 : DomainService { abc obj = new abc(10, 20); public…
Abhishek gupta
  • 463
  • 3
  • 12
  • 33
0
votes
1 answer

how to configure wcf endpoints?

lovin
  • 563
  • 2
  • 14
  • 27
0
votes
1 answer

add more than one service reference for one application

I am unable to add more than one service reference to same class. using testApp.ServiceReference1; using testApp.ServiceReference2; but ServiceReference2 cannot be used as namespace here Is it possible or not??
lovin
  • 563
  • 2
  • 14
  • 27
0
votes
2 answers

Can a wcf client be configured via markup the same way a wcf library is hosted?

Here is my understanding of how a wcf library project is hosted. Once you create a wcf library project you have your app.config as follows:
deostroll
  • 11,661
  • 21
  • 90
  • 161