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
1
vote
0 answers

The remote server returned an error: 400 Bad Request (WCF)

I am using WCF and wsDualBinding, WebHttpBinding. I want my server to send a wsdual request to the client, which then processes the request and sends a json back to the server.
1
vote
1 answer

[WCF Duplex]Could not find endpoint element that references contract in the ServiceModel client configuration section

I have a publish-subscribe notification running with wcf duplex wsdualhttpbinding. But when I started to subscribe in client side, I got the message: "Could not find endpoint element that references contract in the ServiceModel client configuration…
Le Danh
  • 21
  • 2
1
vote
2 answers

Duplex WCF service channels continuously alive (WSDualHttpBinding)

The arhitecture: console application that contains a wcf duplex service; windows app consumers; every app subscribe to Duplex, so we have a list of subscribers and the service must send notifications to some of them in case that some events…
sh_001
  • 13
  • 1
  • 3
1
vote
2 answers

wsDualHttpBinding not working outside network with WPF Client

I was trying to implement a DuplexCommunication between WPF and WCF, the communication is working good when test internally, with in the network, when we tried to access this outside network after publishing it outside, we are able to access the…
1
vote
0 answers

WCF wsDualHttpBinding says 'Failed to allocate a managed memory buffer ...'

I am trying to upload a large object (300 MB) from client to service using 'wsDualHttpBinding'. Using 'basicHttpBinding', I able to upload large object (1.5 GB file). I need to use 'wsDualHttpBinding'. But, using 'wsDualHttpBinding', I able to…
Murugan A
  • 11
  • 2
1
vote
1 answer

Automatically set port number at client side while using wcf duplex binding

I have implemented wcf service with duplex binding and it is working fine. What I have done at client side is I have configured ClientBaseAddress in config file. Default port i.e. 80 which I want my application to automatically use available…
Palak.Maheria
  • 1,497
  • 2
  • 15
  • 32
1
vote
0 answers

How to call a dualHttpBinding(callback contract) from a webHttpBinding service in WPF

Hi all I am facing one issue with dualHttpBinding and webHttpBinding in my application. Here is the overall scenario I have a dotNet and Android application which consumes a WCF Service (which has three different bindings). 1. basicHttpBinding - For…
G K
  • 2,481
  • 4
  • 29
  • 45
1
vote
0 answers

Test client availability in WCF wsDualHttpBinding callback with Remote Address

So there is this issue with making sure the client is still available when doing a callback in WCF when using WSDualHttpBinding. Polling is an expensive and unreliable solution. It occurred to me that maybe a simple HTTP POST or GET to the clients…
Hexum064
  • 349
  • 2
  • 14
1
vote
2 answers

WCF wsdualhttpbinding client without elevation

I've created a Windows Service (server) and a WPF (client) that uses WCFs wsdualhttpbinding callback functionality. Everything between the two pieces of software works correctly but the problem I'm having is that the client needs to run elevated to…
1
vote
2 answers

WCF + SSL wsDualHttpBinding or netTcpBinding

I need to create a self-hosted WCF service. I need secure duplex connection between client and server through Internet. I read some documents of WCF and found that the netTcpBinding is suitable for intranet application, because the SSL is only point…
user248724
  • 11
  • 1
  • 3
1
vote
1 answer

Many callback in InstanceContextMode.Single

I have service InstanceContextMode sets to Single mode. I'm connecting with many clients to this service, getting it's callback channel with OperationContext.Current.GetCallbackChannel() and tring to send some message to each connected…
Saint
  • 5,397
  • 22
  • 63
  • 107
1
vote
1 answer

WCF dual communication with java client

I have to find a way to connect a WCF service to a Java client. I can not change the code of the WCF service and it only offers NetTcpBinding or wsDualHttpBinding One work-around would be to create a C# communication channel to manage the…
zzirna
  • 11
  • 4
1
vote
1 answer

Exception by wsDualhttpbinding running on Mono

Runtime Context: a WCF service used WSDualHttpBinding running on Linux by Mono. I use app.config ,create a EndPoint used WSDualHttpBinding app.config for service (partial)
Mac Lee
  • 326
  • 1
  • 2
  • 12
1
vote
0 answers

How to consume wcf service with callback in web?

I have a project that requires PHP to connect into WCF self host. The structure was, I have a selfhost wcf with tcp and WSDualHttpBinding protocols. I've used PHP SOAP version 1 and wcf has EnvelopVersion Soap12. I tried to test PHP code below but…
Cold
  • 35
  • 2
  • 8
1
vote
1 answer

Firewall not working in wcf services.

I am using WCF WSDualHttpBinding Service. Service is hosted on server http://...:8731/Design_Time_Addresses/MyService/ It works properly when firewall is closed on client and server. I added port 8731 to allow-rule, but still does not work. Which…
Saint
  • 5,397
  • 22
  • 63
  • 107