duplex

Could not find a base address that matches scheme net.tcp

Hi. I have moved my file transfer service from basicHttpBinding to netTcpBinding as I am trying to set up a duplex mode channel. I have also started my net.tcp port sharing service. I am currently in dev and am self hosting on an xp box until we move the app to a dev server. so, for now, I do not have access to IIS. After configu...

How can I send fault on a duplex channel ?

A client and a server communicate in duplex mode. The client has a universal service (Action="*") as contract callback. I'd like the server to be able to send fault to my client. How can I do ? ...

wcf duplex call through from host to guest under vmware (nat?)

i have installed an xp under vmware workstation and i can ping the guest with the adress 192.168.126.131 - so i've started a wcf duplex service, which works fine if i start srv and client under my host system (using localhost everywhere as path) - but if i start the service srv under the guest i can access http://192.168.126.131:18000/My...

Headache with this programming problem. (PHP, Tiff images and Duplex printers)

Hi, i'm just feeling that my head will explode unless someone help me with this problem: I have stored a pair of TIFF images (related by a common key) for each one of almos 100.000 registries. And I create a PHP script that receives a key and echo the tiff image, so the browser return the tiff image: <?php // Determine the primary ...

Change WCF default timeout

Hi, I have here a WCF Duplex Service, the requierement is that the Callback to the client should have a timeout of 10 seconds, therefor my web.config file of the Service looks like this: <bindings> <basicHttpBinding> <binding name="simulatorEndpoint" closeTimeout="00:00:10" openTimeout="00:00:10" ...

WCF Duplex Communcation - Call back delegate in client fails to execute until WCF operation is complete

First of all, thank you for reading this and I hope that you can bear with me. I have a rather complex problem here and I am about to turn to Microsoft for some answers. I have written a WCF service that implements the FlexNet API to automatically search an update server for product updates, and installs them on a client's machine if an...

Workflow Services Duplex Binding

Is Duplex Binding supported in windows Workflow Services and WCF integration? Can an activity "register" with a WCF service and then can a WCF service raise an event to the registered activity in the workflow when it needs to? ...

WCF callback contracts and server to server

I am developing a solution with multiple WCF services which all communicate among themselves, even though they are of different types. The services connect to one another through the ChannelFactory generic interface, and every service is hosted inside a ServiceHost. My question is if it would be correct to use a callback contract among ...

WCF (Silverlight) Duplex - Not hitting server

Hi Folks, I have created a web application with a Silverlight project embedded in it, using VS 2008 SP 1, and the Silverlight 3 tools, on Vista and Windows 7. The duplex service code: [ServiceContract(Namespace = "cotoco", CallbackContract = typeof(IDuplexClient))] [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)...

NullReference Exception is thrown while getting a callback channel

Hi! I am trying to get along with WCF's duplex contracts. A code from this article (http://msdn.microsoft.com/en-us/library/ms731184.aspx) ICalculatorDuplexCallback callback = null; callback = OperationContext.Current.GetCallbackChannel(); throws a NullReferenceException. So how can i manage this? Thanks for your attention! ...

wcf and duplex communication

I have a lot of client programs and one service. This Client programs communicate with the server with http channel with WCF. The clients have dynamic IP. They are online 24h/day. I need the following: The server should notify all the clients in 3 min interval. If the client is new (started in the moment), is should notify it immediate...

Ensuring that all callbacks were completed before sending a new request through a DuplexChannel using WCF

I am experiencing some issues when using a Callback in a WCF project. First, the server invokes some function Foo on the client which then forwards the request to a Windows Forms GUI: GUI CLASS delegate void DoForward(); public void ForwardToGui() { if (this.cmdSomeButton.InvokeRequired) { DoForward d = new DoForward(Forwa...

How to printing duplex sections with Word 2007

I have a Word 2007 document with many sections. Each section enables / disables duplex using a PCL5 escape code in the header on page 1 of the section. PCL5 printers are getting rarer, especially high volume / capacity ones. Is there an equivalent generic code that could be used instead of a printer specific code? Or is there a PCL6 ...

Reliable duplex WCF service that doesn't block and has session management?

I need to create a WCF service (duplex, because it's also about Silverlight and a lot of localhost - stuff, it's a very complicated, legacy - bound situation here...) which will accept multiple sessions, is able to send notifications to multiple clients, and nothing must be blocking. So my first attempt was to create a class that employ...

Creating separate handlers for different users - WCF chat

Hello I'm following this brilliant piece of article to dissect and understand chat using WCF. The logic is that when a user joins a chat an event handler is created for that particular user and is stored in a dictionary. lock (syncObj) { if (!checkIfPersonExists(person.Name) && person != null) { ...

WCF Duplex Contract with ASP.NET web application as a client using netTcpBinding

Hello I've written a WCF service which has a duplex contract and uses netTcpBinding. I've implemented the callback contract in the client side. The client is a ASP.Net web application. I created a new class file in the project and implemented the CallbackContract. From the class i'm passing the value to the page which binds the value to...

custom code to run on server on every silverlight poll. (polling duplex)

Hi, Is it possible to run custom code when the silverlight client polls everytime to the server to keep the connection alive. My application is a implementation of the comet style polling duplex communication which is available from silverlight3. I found that it sends the following Soap message on every poll. <s:Envelope xmlns:s="http:...

iis server returns 500 internal server error, while polling. but works on localhost.

I am using the polling duplex model for my silverlight app and wcf communication. The wcf service pushed data to the silverlight app. While the app runs perfectly in my local environment and local iis (xp, iis5.0), it has a very unpredictable and abrupt behavior when i deploy it on my test server on IIs 7. The default for the 'ServerPo...

How to debug a WCF service connected with multiple clients - .NET

Hello I've written a WCF service with a duplex contract which asynchronously calls back the clients. I have some issues when multiple clients get connected and i dono how to debug the service. Any insights on this? Thank you. NLV ...

Updating the asp.net page from the asynchronous WCF duplex call - object scope - ASP.NET

Hello I've the following doubt. I've a page "MyPage" and i've declared few dictionary objects in the page class. My doubt is If i declare the dictionary as a private non-static object i'm not able to use it across the functions in that page class (the object is getting nulled) But if i declare the dictionary to be static i'm able to ...