Questions tagged [wsdualhttpbinding]

A secure and interoperable WCF binding that is designed for use with duplex service contracts that allows both services and clients to send and receive messages.

The WSDualHttpBinding provides the same support for Web Service protocols as the WSHttpBinding, but for use with duplex contracts. WSDualHttpBinding only supports SOAP security and requires reliable messaging. This binding requires that the client has a public URI that provides a callback endpoint for the service. This is provided by the ClientBaseAddress. A dual binding exposes the IP address of the client to the service. The client should use security to ensure that it only connects to services it trusts.

http://msdn.microsoft.com/en-us/library/system.servicemodel.wsdualhttpbinding.aspx

63 questions
10
votes
2 answers

What is the advantage of WSDualHttpBinding in WCF?

So far, no one can really offer any benefit of using dual channel over a client polling system except for the immediate notification you can get from the dual channel. Every other point says if you dont need immediate notice the dual binding…
schmoopy
  • 6,419
  • 11
  • 54
  • 89
5
votes
2 answers

How to use a WCF Dual Service over the internet?

I followed this tutorial (at least based my WCF in this, coz I need then to work alike): http://www.eggheadcafe.com/tutorials/wcf/b5ada8df-58c5-492f-b368-457b3a4f137c/notify-client-applications-using-wcf-callbacks.aspx It's working very well on my…
4
votes
3 answers

WCF DualHTTPBINDING Message security

When using WSDUALHTTPBINDING with message security, is it recommended to use Transport security also [i.e SSL]? Maybe it depends on the scenario. In my case, both client and service are located on an intranet. If the service was on a webserver over…
user1438082
  • 2,740
  • 10
  • 48
  • 82
3
votes
1 answer

WsDualHttpBinding doesn't call back client, timely manner issues

Ithis issue has already been asked over and over but whatever the solution was on people's project, it doesn't work for me. I have a WsDualHttpBinding to call a service from a client. My config for the client is this :
Quentin
  • 117
  • 12
2
votes
3 answers

wsDualHttpBinding always timeout, while other services work as expected

I currently develop several services (WCF) to work with TFS 2010. Some of them use the event subscription tool, while others are consumed through the sharepoint portal, small wpf applications, etc. I'm working on an application to administer some…
Conrad Clark
  • 4,533
  • 5
  • 45
  • 70
2
votes
1 answer

WCF The caller was not authenticated by the service in a WsDualHttpBinding

I have a wcf service which use wsDualHttpBinding, i get that error when i try to connect to it using a different pc in the same domain. here is my client config:
Stacker
  • 8,157
  • 18
  • 73
  • 135
2
votes
2 answers

How WsDualHttpBinding is doing to know about the callback channel?

something seems very wierd to me, I have tried to look inside WCF with Reflector but forgive me it's too hard to understand :(. When client A call a duplex service on server B with wsDualHttpBinding, I was thinking that client A include the client…
Nicolas Dorier
  • 7,383
  • 11
  • 58
  • 71
2
votes
0 answers

Error CS0433 The type 'InstanceContext' exists in both 'System.ServiceModel.Duplex, Version=4.0.1.2, ' and 'System.ServiceModel, Version=4.0.0.0'

Add wcf service with duplex communication in uwp, I need the WSDualHttpBinding class. however the UWP framework will involve the system.servicemodel.primitives. When I add the system.servicemodel, Error CS0433 The type 'InstanceContext' exists in…
jane
  • 21
  • 2
2
votes
1 answer

WCF client cannot connect to WCF service hosted in IIS via ServiceHost?

I have this scheme: IIS hosts: OperatorService.svc (connects to ClientService) Global.asax (on start): hosts ClientService via ServiceHost WPF client connects to ClientService If I go to OperatorService the service is activated, web application…
SmartK8
  • 2,616
  • 1
  • 29
  • 37
2
votes
0 answers

The HTTP request was forbidden with client authentication scheme 'Anonymous' on wsDualHttpBinding

I have a client-server application. My server site is on IIS. My client App.config is:
Tali B.
  • 125
  • 1
  • 11
2
votes
1 answer

WCF multi-session wsdualhttpbinding reconnect to server

I implemented a WCF service that will do some long task. It needs to provide client with notifications about current progress of that long task. It is working well so far, but the problem is: When user closes the client app, and then open it again,…
2
votes
2 answers

I cannot reach OperationContext.Current when I store it to a static variable

I have a WCF Service that is configured by net.tcp binding. I can reach the service by client and can call methods of it. Also I can reach the OperationContext.Current. Such as: [ServiceContract(CallbackContract = typeof(IServiceCallback))] public…
Barış Velioğlu
  • 5,709
  • 15
  • 59
  • 105
2
votes
0 answers

The caller was not authenticated by the service

I have build a simple WCF service using wsDualHttpBinding. It is working fine at local end but it throws a error when I publish the service on a different server and try to consume that service in a WPF…
user2384784
  • 101
  • 1
  • 1
  • 5
1
vote
1 answer

How to detect client callback channel fault in service

I am using a duplex communication over wsDualHttpBinding. Each client that logs in to the server, a GUID and a callback channel are constructed and saved in a dictionary. ( A very standard approach ) I need a way for the service to detect when a…
eran otzap
  • 12,293
  • 20
  • 84
  • 139
1
vote
0 answers

WCF wsdualhttpbinding strange behaviour at client side that has no clear (Exception details)

to make long story as short as possible, I made a duplex WCF service, using wsdualhttpbinding, tested it on my local machine using Visual Stuido and using IIS7, thigs are working fine (i had to use windows authentication on IIS7 to make it work…
user915331
1
2 3 4 5