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
0
votes
2 answers

WCF The Reliable Session Was Faulted

I have a WCF service hosted in a Windows service which publishes errors to any subscribed monitor applications. There are 2 server applications which publish errors to the service and then these errors are sent to any subscribed monitor…
Jonnster
  • 3,094
  • 5
  • 33
  • 45
0
votes
1 answer

WCF -Android/Iphone interoperability

I'm actually developing a client/server application : the client consumes a WCF service. The client needs to get database data, so the WCF service returns Linq-to-SQL entities (System.Data.Linq.Mapping.TableAttribute) To implement a "push"…
0
votes
0 answers

wsDualHttpBinding Error

I have new problem... There was no endpoint listening at http://penservtest01/Temporary_Listen_Addresses/8a63b2c3-3f9c-46f9-b61c-1695d7c0c855/dbc08b54-7ce7-42d3-98cd-b0dd98bb1675 that could accept the message. This is often caused by an…
lannyboy
  • 467
  • 2
  • 8
  • 20
0
votes
1 answer

Not able to catch FaultException in WCF client with WSDualHttpBinding

I have a WCF server with a custom UserNamePasswordValidator. public class CustomUserNameValidator : UserNamePasswordValidator { private readonly string m_userName; private readonly string m_password; /// /// …
christian
  • 3
  • 2
0
votes
1 answer

Problem with WCF dual binding callback channel: channel is faulty

I am facing problem with client which cannot register callback channel on second start. I tried various things it seems I found a solution to remove Close() channel (ResetProxy() call in wrapper) call on shutdown of service. But this it turns out…
btomas
  • 391
  • 4
  • 12
0
votes
3 answers

wcf wsdualhttpbinding timeout problem

Please help me!!! I am trying to build an application which uses callbacks contracts.My app work fine both the client and the server on the same machine, but when i try to access the service from other machine i got an exception timeout(the…
Annymmor A
  • 1
  • 1
  • 3
0
votes
1 answer

WCF wsdualhttpBinding custom username

I'v got very annoying error: My scenario - simple message/mail server\client implemented in WCF with wsdualhttpbinding (dual for callbacks , online update on new message). All security config is written in code (no *.config at all) . Upon first…
Stas
  • 132
  • 7
0
votes
2 answers

Share windows identity between WCF services with WSDualHttpBinding

I have two WCF services hosted separately in IIS 7. The first service is callable from outside and uses a WebHttpBinding with windows authentication. The second service is only called by the first one, using a WsDualHttpBinding. When the first…
jfhr
  • 687
  • 5
  • 13
0
votes
1 answer

WCF Timeout - WSDualHttpBinding, How to set OperationTimeout

I'm creating a WSDualHttpBinding (from code), setting the following timeout values: peerBinding.CloseTimeout = TimeSpan.FromSeconds(ServiceConnector_Constants.CLOSETIMEOUT); peerBinding.OpenTimeout =…
Muckers Mate
  • 399
  • 8
  • 23
0
votes
1 answer

WCF service hangs when calling method, however method is working

Hello I'm having issue with my wcf service. I'm trying to call method which returns list of type object. I'm also using entity framework. public IList GetAllProducts() { using (var db = new AuctionContext()) { …
Lukáš Václavek
  • 442
  • 1
  • 6
  • 12
0
votes
0 answers

Changing from WSDualHttpBinding to NetTcpBinding doesn't seem to work

I have a client-server application. I have been using WsDualHttpBinding for callbacks and all is well. The WCF service uses x509Certificates. The app will be hosted within the org's intranet. I have opted to configure NetTcpBinding on a dedicated…
xariez
  • 529
  • 1
  • 5
  • 17
0
votes
2 answers

Wcf wsDualHttpBinding Max message length 16384 reached

I cannot get to work a wsDualHttpBinding endpoint on my WCF service. I'm facing this problem on the client. I get an exception that suggests to increment MaxArrayLength from 16384 to allow to read the whole xml data. I tried the following…
Mauro Sampietro
  • 2,739
  • 1
  • 24
  • 50
0
votes
1 answer

wsDualHttpBinding failing with larger datasets

I am using wsDualBinding in my wcf service to handle 2 way communication in my software. Everything seems to work fine except when I call a method to get a customer list. If in the service I limit the results of the query to 2730 records I can get…
devman
  • 3
  • 1
0
votes
1 answer

WCF Callback Service hosted over basicHttpBinding and wsDualHttpBinding

I have a callback service that is hosted over wsDualHttpBinding. I'm looking to add a client that will poll for the data rather than receive the callback (will be a mobile device using wince for demo purposes). I was curious what the best way to do…
Sean
  • 2,453
  • 6
  • 41
  • 53
0
votes
1 answer

WCF wsDualHttpBinding stop sending callbacks

I am developing WCF service which is connected with weighbridge. We would like to send messages to all connected clients when weight changed. With one weighbridge can be connected only one client so I have developed WCF which communicate with…